diff options
Diffstat (limited to 'net-misc/aria2/aria2-0.6.0_p1.ebuild')
-rw-r--r-- | net-misc/aria2/aria2-0.6.0_p1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net-misc/aria2/aria2-0.6.0_p1.ebuild b/net-misc/aria2/aria2-0.6.0_p1.ebuild new file mode 100644 index 000000000..8966e9b28 --- /dev/null +++ b/net-misc/aria2/aria2-0.6.0_p1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="aria2 - The high speed download utility" +HOMEPAGE="http://aria2.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P/_p/+}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="bittorrent gnutls metalink nls ssl" + +RDEPEND="ssl? ( gnutls? ( net-libs/gnutls ) + !gnutls? ( dev-libs/openssl ) + ) + bittorrent? ( gnutls? ( dev-libs/libgcrypt ) ) + nls? ( virtual/libiconv virtual/libintl ) + metalink? ( >=dev-libs/libxml2-2.6.26 )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${P/_p/+}" + +src_compile() { + use ssl && \ + myconf="${myconf} $(use_enable gnutls) $(use_enable !gnutls openssl)" + econf \ + $(use_enable nls) \ + $(use_enable metalink) \ + ${myconf} \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + dobin src/aria2c + dodoc README AUTHORS TODO NEWS +} |