29 lines
724 B
Bash
29 lines
724 B
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-misc/aget/aget-0.4.1-r1.ebuild,v 1.6 2012/06/22 16:10:56 ranger Exp $
|
|
|
|
EAPI=3
|
|
|
|
inherit eutils toolchain-funcs
|
|
|
|
DESCRIPTION="multithreaded HTTP download accelerator"
|
|
HOMEPAGE="http://www.enderunix.org/aget/"
|
|
SRC_URI="http://www.enderunix.org/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm ~mips ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
|
|
IUSE=""
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/${PF}.patch
|
|
}
|
|
|
|
src_compile() {
|
|
emake CC="$(tc-getCC)" || die
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${ED}" install || die
|
|
dodoc AUTHORS ChangeLog README* THANKS TODO || die
|
|
}
|