From: Timothy Redaelli Date: Mon, 11 Dec 2006 11:13:46 +0000 (+0000) Subject: Add use nls and add pkg_postinst message with commands to enable axel for portage... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ed87fc15a5034def2f5b74104517e3904842730f;p=gentoo.git Add use nls and add pkg_postinst message with commands to enable axel for portage downloading. Package-Manager: portage-2.1.2_rc1-r4 --- diff --git a/net-misc/axel/ChangeLog b/net-misc/axel/ChangeLog index deb5ad277d96..d02793b8849c 100644 --- a/net-misc/axel/ChangeLog +++ b/net-misc/axel/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/axel # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/axel/ChangeLog,v 1.23 2006/10/24 16:07:34 drizzt Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/axel/ChangeLog,v 1.24 2006/12/11 11:13:46 drizzt Exp $ + + 11 Dec 2006; Timothy Redaelli axel-1.0b-r1.ebuild: + Add use nls and add pkg_postinst message with commands to enable axel for + portage downloading. *axel-1.0b-r1 (24 Oct 2006) diff --git a/net-misc/axel/Manifest b/net-misc/axel/Manifest index 7e9d32f388b5..58ec521ca3d5 100644 --- a/net-misc/axel/Manifest +++ b/net-misc/axel/Manifest @@ -2,18 +2,18 @@ Hash: SHA1 DIST axel-1.0b.tar.gz 43293 RMD160 97e11b6ef5ffbf60ad2d39df106a42e680144359 SHA1 b9c9a4bb86ac5ffd53974af211edbfaefc182183 SHA256 cac515949321fa538deb9ab221d233f722fbc3b82d7f7b7c34d6441cb71d7ad4 -EBUILD axel-1.0b-r1.ebuild 981 RMD160 f28ad84a57fc703fbda42778685d2b3e04e43af0 SHA1 ff14c911c148871c15591edd601a62db72b6680d SHA256 67cc75bb862024065e84e5b925bc62d974428e5bee453fcf5669ecfcc5b4c701 -MD5 8b3eacff6564c246015e796814429927 axel-1.0b-r1.ebuild 981 -RMD160 f28ad84a57fc703fbda42778685d2b3e04e43af0 axel-1.0b-r1.ebuild 981 -SHA256 67cc75bb862024065e84e5b925bc62d974428e5bee453fcf5669ecfcc5b4c701 axel-1.0b-r1.ebuild 981 +EBUILD axel-1.0b-r1.ebuild 1293 RMD160 2dee72e07882433bb2dfb6675679991d0aa205f5 SHA1 62e000fb90582075a46d162f9de0ca966630412a SHA256 346168be223cbe626c95b4d822e8ae1551f90a1555d81a03651f8642a99c427d +MD5 2964eed3def3fe7fd6186daf99c59244 axel-1.0b-r1.ebuild 1293 +RMD160 2dee72e07882433bb2dfb6675679991d0aa205f5 axel-1.0b-r1.ebuild 1293 +SHA256 346168be223cbe626c95b4d822e8ae1551f90a1555d81a03651f8642a99c427d axel-1.0b-r1.ebuild 1293 EBUILD axel-1.0b.ebuild 784 RMD160 f85a6848250c98c8ae9e1c5587eac75c523f47da SHA1 fad33743ed45bde83484284bf10ce511e36bb695 SHA256 c2692c6482ff588dd5017f600f1c99258c54348ff06662217227961544a4bfd7 MD5 70c33b00362c325cf7c28072bd656077 axel-1.0b.ebuild 784 RMD160 f85a6848250c98c8ae9e1c5587eac75c523f47da axel-1.0b.ebuild 784 SHA256 c2692c6482ff588dd5017f600f1c99258c54348ff06662217227961544a4bfd7 axel-1.0b.ebuild 784 -MISC ChangeLog 2687 RMD160 c54d6de0d124caa42fc536ed5c42580122c3428c SHA1 63650017da01d916aec1e4147c0393899c3214ff SHA256 fee196291c0e28f64e1affe01b45a01ffc59f12615b17828f57d1d8212f14f56 -MD5 3ddcc15b924ce4a6bd56cf29731b30c6 ChangeLog 2687 -RMD160 c54d6de0d124caa42fc536ed5c42580122c3428c ChangeLog 2687 -SHA256 fee196291c0e28f64e1affe01b45a01ffc59f12615b17828f57d1d8212f14f56 ChangeLog 2687 +MISC ChangeLog 2860 RMD160 38b00ff5dbd5d20e7290463369cce257efb5ce0f SHA1 052cefdd0964be58b51352f0b7d4616280de74fc SHA256 a347907f77a028487e2009abef2c1f31177236b1e6f515401ee986f7a25885a2 +MD5 b9508d75d9a28048535c9d763ee24ba2 ChangeLog 2860 +RMD160 38b00ff5dbd5d20e7290463369cce257efb5ce0f ChangeLog 2860 +SHA256 a347907f77a028487e2009abef2c1f31177236b1e6f515401ee986f7a25885a2 ChangeLog 2860 MISC metadata.xml 250 RMD160 814dfbad5d3e7f4840eaa344a65b6f98cdda4b7a SHA1 28adc7adc4ff94c6c324ac83ea64c6f5f5443563 SHA256 8b66d8b711e42b4ecb31a411bc5033ba59e0da6250fe40b758b5416332190adb MD5 6dd0cf4408b85c1dc9b136f5babf4e80 metadata.xml 250 RMD160 814dfbad5d3e7f4840eaa344a65b6f98cdda4b7a metadata.xml 250 @@ -27,7 +27,7 @@ SHA256 fd6f909fe2c8796b97be2d2fbf667ad6a4ced577a371ebee7a469f5dbb84963e files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFPjplGDyatLGpTbYRAvGpAJ9dgtQHihoYLYyoYoUv6B1kDVaWcwCfUBbD -vz1fifY8bjdc0GLEzU5lwj0= -=h1nz +iD8DBQFFfT1wGDyatLGpTbYRAvi1AJ0Y1tHIFCUro/hq7C+DvpxFWnrjCACfVENG +8pRAf6DTNazTYGENnAnhRgQ= +=2eWP -----END PGP SIGNATURE----- diff --git a/net-misc/axel/axel-1.0b-r1.ebuild b/net-misc/axel/axel-1.0b-r1.ebuild index dddb788a983d..4e153a92f89d 100644 --- a/net-misc/axel/axel-1.0b-r1.ebuild +++ b/net-misc/axel/axel-1.0b-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/axel/axel-1.0b-r1.ebuild,v 1.1 2006/10/24 16:07:34 drizzt Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/axel/axel-1.0b-r1.ebuild,v 1.2 2006/12/11 11:13:46 drizzt Exp $ inherit toolchain-funcs @@ -11,10 +11,11 @@ SRC_URI="http://wilmer.gaast.net/downloads/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc-macos ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="debug" +IUSE="debug nls" -DEPEND="" -RDEPEND="" +RDEPEND="nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" src_unpack() { unpack ${A} @@ -27,16 +28,24 @@ src_compile() { local myconf use debug && myconf="--debug=1" + use nls && myconf="--i18n=1" econf \ --strip=0 \ --etcdir=/etc \ ${myconf} \ || die - emake CFLAGS="${CFLAGS}" CC="`tc-getCC`" || die "emake failed" + emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc API CHANGES CREDITS README axelrc.example } + +pkg_postinst() { + einfo 'To use axel with portage, try these settings in your make.conf' + einfo + einfo ' FETCHCOMMAND="/usr/bin/axel -a -o \${DISTDIR}/\${FILE} \${URI}"' + einfo ' RESUMECOMMAND="${FETCHCOMMAND}"' +}