diff options
author | Rick Farina <zerochaos@gentoo.org> | 2014-04-17 19:14:33 +0000 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2014-04-17 19:14:33 +0000 |
commit | e067ec1f0afc0869e3f6a8952dcb5dbd18a0be2f (patch) | |
tree | 293700bc06d227c5ef3db47d527324b6c6c2c38d /net-wireless/aircrack-ng/aircrack-ng-9999.ebuild | |
parent | Sync with overlay. Remove unused inherit. Switch to git-r3 eclass. Fix file c... (diff) | |
download | gentoo-2-e067ec1f0afc0869e3f6a8952dcb5dbd18a0be2f.tar.gz gentoo-2-e067ec1f0afc0869e3f6a8952dcb5dbd18a0be2f.tar.bz2 gentoo-2-e067ec1f0afc0869e3f6a8952dcb5dbd18a0be2f.zip |
bump to beta3, ebuild fixes
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Diffstat (limited to 'net-wireless/aircrack-ng/aircrack-ng-9999.ebuild')
-rw-r--r-- | net-wireless/aircrack-ng/aircrack-ng-9999.ebuild | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild b/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild index 7b4d63a334ca..3f660e60e6a3 100644 --- a/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild +++ b/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild,v 1.7 2014/03/30 21:36:10 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild,v 1.8 2014/04/17 19:14:33 zerochaos Exp $ EAPI="5" @@ -42,6 +42,10 @@ RDEPEND="${DEPEND} airdrop-ng? ( net-wireless/lorcon[python] )" src_compile() { + if [[ ${PV} == "9999" ]] ; then + liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" + fi + emake \ CC="$(tc-getCC)" \ AR="$(tc-getAR)" \ @@ -51,25 +55,34 @@ src_compile() { pcre=$(usex pcre true false) \ sqlite=$(usex sqlite true false) \ unstable=$(usex unstable true false) \ - REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" + ${liveflags} } src_test() { + if [[ ${PV} == "9999" ]] ; then + liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" + fi + emake check \ libnl=$(usex netlink true false) \ pcre=$(usex pcre true false) \ sqlite=$(usex sqlite true false) \ - unstable=$(usex unstable true false) + unstable=$(usex unstable true false) \ + ${liveflags} } src_install() { + if [[ ${PV} == "9999" ]] ; then + liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" + fi + emake \ prefix="${ED}/usr" \ libnl=$(usex netlink true false) \ pcre=$(usex pcre true false) \ sqlite=$(usex sqlite true false) \ unstable=$(usex unstable true false) \ - REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" \ + ${liveflags} \ install dodoc AUTHORS ChangeLog INSTALLING README |