Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/aria2: ChangeLog aria2-1.5.2.ebuild aria2-1.3.3.ebuild aria2-1.4.1.ebuild
Date: Sat, 29 Aug 2009 13:09:30
Message-Id: E1MhSVU-0005bq-J4@stork.gentoo.org
1 dev-zero 09/08/29 18:18:32
2
3 Modified: ChangeLog
4 Added: aria2-1.5.2.ebuild
5 Removed: aria2-1.3.3.ebuild aria2-1.4.1.ebuild
6 Log:
7 Version bump. Dropped old.
8 (Portage version: 2.2_rc40/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.45 net-misc/aria2/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/ChangeLog?rev=1.45&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/ChangeLog?rev=1.45&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/ChangeLog?r1=1.44&r2=1.45
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v
20 retrieving revision 1.44
21 retrieving revision 1.45
22 diff -u -r1.44 -r1.45
23 --- ChangeLog 11 Aug 2009 12:38:35 -0000 1.44
24 +++ ChangeLog 29 Aug 2009 18:18:32 -0000 1.45
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-misc/aria2
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.44 2009/08/11 12:38:35 dev-zero Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.45 2009/08/29 18:18:32 dev-zero Exp $
30 +
31 +*aria2-1.5.2 (29 Aug 2009)
32 +
33 + 29 Aug 2009; Tiziano Müller <dev-zero@g.o> -aria2-1.3.3.ebuild,
34 + -aria2-1.4.1.ebuild, +aria2-1.5.2.ebuild:
35 + Version bump. Dropped old.
36
37 *aria2-1.5.1 (11 Aug 2009)
38
39
40
41
42 1.1 net-misc/aria2/aria2-1.5.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/aria2-1.5.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/aria2-1.5.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: aria2-1.5.2.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/aria2-1.5.2.ebuild,v 1.1 2009/08/29 18:18:32 dev-zero Exp $
52
53 EAPI="2"
54
55 DESCRIPTION="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP/BitTorrent support."
56 HOMEPAGE="http://aria2.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
58 LICENSE="GPL-2"
59 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
60 SLOT="0"
61 IUSE="ares bittorrent expat gnutls metalink nls sqlite ssl test"
62
63 CDEPEND="sys-libs/zlib
64 ssl? (
65 gnutls? ( >=net-libs/gnutls-1.2.9 )
66 !gnutls? ( dev-libs/openssl ) )
67 ares? ( >=net-dns/c-ares-1.5.0 )
68 bittorrent? (
69 gnutls? ( >=net-libs/gnutls-1.2.9 >=dev-libs/libgcrypt-1.2.2 )
70 !gnutls? ( dev-libs/openssl ) )
71 metalink? (
72 !expat? ( >=dev-libs/libxml2-2.6.26 )
73 expat? ( dev-libs/expat )
74 )
75 sqlite? ( dev-db/sqlite:3 )"
76 DEPEND="${CDEPEND}
77 nls? ( sys-devel/gettext )
78 test? ( >=dev-util/cppunit-1.12.0 )"
79 RDEPEND="${CDEPEND}
80 nls? ( virtual/libiconv virtual/libintl )"
81
82 src_prepare() {
83 sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
84 }
85
86 src_configure() {
87 local myconf="--without-gnutls --without-openssl"
88 use ssl && \
89 myconf="$(use_with gnutls) $(use_with !gnutls openssl)"
90
91 # Note:
92 # - depends on libgcrypt only when using gnutls
93 # - links only against libxml2 and libexpat when metalink is enabled
94 # - always enable gzip/http compression since zlib should always be available anyway
95 # - always enable epoll since we can assume kernel 2.6.x
96 # - other options for threads: solaris, pth, win32
97 econf \
98 --enable-epoll \
99 --enable-threads=posix \
100 --with-libz \
101 $(use_enable nls) \
102 $(use_enable metalink) \
103 $(use_with expat libexpat) \
104 $(use_with !expat libxml2) \
105 $(use_with sqlite sqlite3) \
106 $(use_enable bittorrent) \
107 $(use_with ares libcares) \
108 ${myconf}
109 }
110
111 src_install() {
112 emake DESTDIR="${D}" install || die "emake install failed"
113
114 rm -rf "${D}/usr/share/doc/aria2"
115 dodoc ChangeLog README AUTHORS NEWS
116 dohtml README.html doc/aria2c.1.html
117 }