1 |
dev-zero 08/09/07 10:06:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: aria2-0.15.3.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc4 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.30 net-misc/aria2/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/ChangeLog?rev=1.30&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/ChangeLog?rev=1.30&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/ChangeLog?r1=1.29&r2=1.30 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v |
19 |
retrieving revision 1.29 |
20 |
retrieving revision 1.30 |
21 |
diff -u -r1.29 -r1.30 |
22 |
--- ChangeLog 16 Aug 2008 10:08:12 -0000 1.29 |
23 |
+++ ChangeLog 7 Sep 2008 10:06:51 -0000 1.30 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for net-misc/aria2 |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.29 2008/08/16 10:08:12 dev-zero Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.30 2008/09/07 10:06:51 dev-zero Exp $ |
29 |
+ |
30 |
+*aria2-0.15.3 (07 Sep 2008) |
31 |
+ |
32 |
+ 07 Sep 2008; Tiziano Müller <dev-zero@g.o> +aria2-0.15.3.ebuild: |
33 |
+ Version bump |
34 |
|
35 |
*aria2-0.15.2 (16 Aug 2008) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.1 net-misc/aria2/aria2-0.15.3.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/aria2-0.15.3.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/aria2-0.15.3.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: aria2-0.15.3.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/aria2-0.15.3.ebuild,v 1.1 2008/09/07 10:06:51 dev-zero Exp $ |
50 |
|
51 |
MY_P="aria2c-${PV/_p/+}" |
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}/${MY_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 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.3.1 ) |
66 |
bittorrent? ( gnutls? ( >=dev-libs/libgcrypt-1.2.0 ) ) |
67 |
metalink? ( |
68 |
!expat? ( >=dev-libs/libxml2-2.6.26 ) |
69 |
expat? ( dev-libs/expat ) |
70 |
)" |
71 |
DEPEND="${CDEPEND} |
72 |
nls? ( sys-devel/gettext ) |
73 |
test? ( >=dev-util/cppunit-1.12.0 )" |
74 |
RDEPEND="${CDEPEND} |
75 |
nls? ( virtual/libiconv virtual/libintl )" |
76 |
|
77 |
S="${WORKDIR}/${MY_P}" |
78 |
|
79 |
src_unpack() { |
80 |
unpack ${A} |
81 |
cd "${S}" |
82 |
|
83 |
sed -i -e "s|/tmp|${T}|" test/*.cc || die "sed failed" |
84 |
} |
85 |
|
86 |
src_compile() { |
87 |
use ssl && \ |
88 |
myconf="${myconf} $(use_with gnutls) $(use_with !gnutls openssl)" |
89 |
|
90 |
# Note: |
91 |
# - we don't have ares, only libcares |
92 |
# - depends on libgcrypt only when using openssl |
93 |
# - links only against libxml2 and libexpat when metalink is enabled |
94 |
# - always enable gzip/http compression since zlib should always be 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_enable bittorrent) \ |
106 |
--without-ares \ |
107 |
$(use_with ares libcares) \ |
108 |
${myconf} \ |
109 |
|| die "econf failed" |
110 |
emake || die "emake failed" |
111 |
} |
112 |
|
113 |
src_install() { |
114 |
emake DESTDIR="${D}" install || die "emake install failed" |
115 |
|
116 |
rm -rf "${D}/usr/share/doc/aria2c" |
117 |
dodoc ChangeLog README AUTHORS TODO NEWS |
118 |
dohtml README.html doc/aria2c.1.html |
119 |
} |