added aria2

This commit is contained in:
Micha Glave 2006-07-17 08:04:37 +00:00
parent 47c3d1df77
commit 1f10433369
3 changed files with 66 additions and 0 deletions

8
net-misc/aria2/Manifest Normal file
View File

@ -0,0 +1,8 @@
DIST aria2-0.6.0+1.tar.bz2 334435 RMD160 24eefc38e64123147140cb550d375907bae8c5e7 SHA1 0c349afa9879dd47dd42879791e4e60be5252a05 SHA256 059492b5d080d7cf5cbf812d4eca2de178399a9a23f81ecc5005da1bbe868c42
EBUILD aria2-0.6.0_pre1.ebuild 1219 RMD160 0c95e54363ef7f1e21b23c800e7e4ac5ea4e75c1 SHA1 fefdfcf6a5570814820dd56ed87d40aa888c6c4d SHA256 75c48918e2b923507793b0c2ef490c053e78c1cc67992316b9cf73dd5e62265e
MD5 8e11ff9a380058917b68decd98593dfb aria2-0.6.0_pre1.ebuild 1219
RMD160 0c95e54363ef7f1e21b23c800e7e4ac5ea4e75c1 aria2-0.6.0_pre1.ebuild 1219
SHA256 75c48918e2b923507793b0c2ef490c053e78c1cc67992316b9cf73dd5e62265e aria2-0.6.0_pre1.ebuild 1219
MD5 452b1f2b7fede5e1fc4b72c06bfec105 files/digest-aria2-0.6.0_pre1 244
RMD160 8ac3239ce47cd48d9ba811a93d512c04ea0085ab files/digest-aria2-0.6.0_pre1 244
SHA256 b7aaf849666359d80b700886663af0a222e46202366869d89287eb4b8d6a3aa5 files/digest-aria2-0.6.0_pre1 244

View File

@ -0,0 +1,55 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="aria2 is a download utility with resuming and segmented downloading."
HOMEPAGE="http://aria2.sourceforge.net/"
MY_P=${P/pre/p}
SRC_URI="mirror://sourceforge/${PN}/${MY_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 ) )
metalink? ( >=dev-libs/libxml2-2.6.26 )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
S="${WORKDIR}/${MY_P/_p/+}"
pkg_setup() {
if use bittorrent && (! use ssl && ! use gnutls); then
eerror "For bittorrent, you need either ssl or gnutls"
eerror "use flag enabled"
die "use flag inconsistency"
fi
}
src_compile () {
econf \
$(use_enable ssl) \
$(use_enable gnutls) \
$(use_enable bittorrent) \
$(use_enable metalink) \
$(use_enable nls) \
|| die
emake || die
}
src_install () {
make install DESTDIR=${D} || die "make install failed."
# einstall || die "einstall failed"
dodoc AUTHORS NEWS README TODO
}

View File

@ -0,0 +1,3 @@
MD5 5a41813ce7d6a9c2c4bb56641ee08f4e aria2-0.6.0+1.tar.bz2 334435
RMD160 24eefc38e64123147140cb550d375907bae8c5e7 aria2-0.6.0+1.tar.bz2 334435
SHA256 059492b5d080d7cf5cbf812d4eca2de178399a9a23f81ecc5005da1bbe868c42 aria2-0.6.0+1.tar.bz2 334435