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