From: | Peter Volkov <pva@g.o> |
---|---|
To: | gentoo-dev@l.g.o, sping@g.o |
Subject: | [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/aria2: aria2-1.12.0.ebuild ChangeLog |
Date: | Fri, 01 Jul 2011 08:05:19 |
Message-Id: | 1309507421.7016.11.camel@tablet |
1 | В Чтв, 30/06/2011 в 19:27 +0000, Sebastian Pipping (sping) пишет: |
2 | > Log: |
3 | > net-misc/aria2: Bump to 1.12.0, looks trivial |
4 | > |
5 | > EAPI="2" |
6 | > |
7 | > inherit bash-completion |
8 | ... |
9 | > pkg_setup() { |
10 | > if use scripts && use !xmlrpc && use !metalink; then |
11 | > ewarn "Please also enable the 'xmlrpc' USE flag to actually use the additional scripts" |
12 | > fi |
13 | > } |
14 | |
15 | This really calls for REQUIRED_USE from EAPI="4". |
16 | |
17 | REQUIRED_USE="scripts? ( ^^ ( xmlrpc metalink ) )" |
18 | |
19 | > src_install() { |
20 | > emake DESTDIR="${D}" install || die "emake install failed" |
21 | > |
22 | > rm -rf "${D}/usr/share/doc/aria2" |
23 | |
24 | || die |
25 | |
26 | -- |
27 | Peter. |
Subject | Author |
---|---|
Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/aria2: aria2-1.12.0.ebuild ChangeLog | Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> |
[gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/aria2: aria2-1.12.0.ebuild ChangeLog | Sebastian Pipping <sping@g.o> |
[gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/aria2: aria2-1.12.0.ebuild ChangeLog | Jonathan Callen <abcd@g.o> |