summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2008-10-06 16:09:21 +0000
committerTiziano Müller <dev-zero@gentoo.org>2008-10-06 16:09:21 +0000
commit56e61cc7d7ddd50238b5af1dfe096d55562360f7 (patch)
tree2ed6bc658a992b8086890682186014ef3e0c4cb1 /net-misc
parentVersion bump (diff)
downloadgentoo-2-56e61cc7d7ddd50238b5af1dfe096d55562360f7.tar.gz
gentoo-2-56e61cc7d7ddd50238b5af1dfe096d55562360f7.tar.bz2
gentoo-2-56e61cc7d7ddd50238b5af1dfe096d55562360f7.zip
Version bump. Keeping old for stabilization.
(Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc6 x86_64)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/aria2/ChangeLog8
-rw-r--r--net-misc/aria2/aria2-0.16.0.ebuild (renamed from net-misc/aria2/aria2-0.15.2.ebuild)21
2 files changed, 19 insertions, 10 deletions
diff --git a/net-misc/aria2/ChangeLog b/net-misc/aria2/ChangeLog
index c48e64da7b65..112f517e3ff6 100644
--- a/net-misc/aria2/ChangeLog
+++ b/net-misc/aria2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/aria2
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.30 2008/09/07 10:06:51 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.31 2008/10/06 16:09:21 dev-zero Exp $
+
+*aria2-0.16.0 (06 Oct 2008)
+
+ 06 Oct 2008; Tiziano Müller <dev-zero@gentoo.org> -aria2-0.15.2.ebuild,
+ +aria2-0.16.0.ebuild:
+ Version bump. Keeping old for stabilization.
*aria2-0.15.3 (07 Sep 2008)
diff --git a/net-misc/aria2/aria2-0.15.2.ebuild b/net-misc/aria2/aria2-0.16.0.ebuild
index c8420f026537..b4a2f943c49e 100644
--- a/net-misc/aria2/aria2-0.15.2.ebuild
+++ b/net-misc/aria2/aria2-0.16.0.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/aria2-0.15.2.ebuild,v 1.1 2008/08/16 10:08:12 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/aria2-0.16.0.ebuild,v 1.1 2008/10/06 16:09:21 dev-zero Exp $
+
+EAPI="2"
MY_P="aria2c-${PV/_p/+}"
@@ -10,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
SLOT="0"
-IUSE="ares bittorrent expat gnutls metalink nls ssl test"
+IUSE="ares bittorrent expat gnutls metalink nls sqlite3 ssl test"
CDEPEND="sys-libs/zlib
ssl? (
@@ -21,7 +23,8 @@ CDEPEND="sys-libs/zlib
metalink? (
!expat? ( >=dev-libs/libxml2-2.6.26 )
expat? ( dev-libs/expat )
- )"
+ )
+ sqlite3? ( dev-db/sqlite:3 )"
DEPEND="${CDEPEND}
nls? ( sys-devel/gettext )
test? ( >=dev-util/cppunit-1.12.0 )"
@@ -30,14 +33,11 @@ RDEPEND="${CDEPEND}
S="${WORKDIR}/${MY_P}"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
sed -i -e "s|/tmp|${T}|" test/*.cc || die "sed failed"
}
-src_compile() {
+src_configure() {
use ssl && \
myconf="${myconf} $(use_with gnutls) $(use_with !gnutls openssl)"
@@ -47,19 +47,21 @@ src_compile() {
# - links only against libxml2 and libexpat when metalink is enabled
# - always enable gzip/http compression since zlib should always be anyway
# - always enable epoll since we can assume kernel 2.6.x
+ # - other options for threads: solaris, pth, win32
econf \
--enable-epoll \
+ --enable-threads=posix \
--with-libz \
$(use_enable nls) \
$(use_enable metalink) \
$(use_with expat libexpat) \
$(use_with !expat libxml2) \
+ $(use_with sqlite3) \
$(use_enable bittorrent) \
--without-ares \
$(use_with ares libcares) \
${myconf} \
|| die "econf failed"
- emake || die "emake failed"
}
src_install() {
@@ -69,3 +71,4 @@ src_install() {
dodoc ChangeLog README AUTHORS TODO NEWS
dohtml README.html doc/aria2c.1.html
}
+