diff options
author | 2009-03-07 15:37:22 +0000 | |
---|---|---|
committer | 2009-03-07 15:37:22 +0000 | |
commit | 04c64830321171784921f40fd9c8ebeae028d452 (patch) | |
tree | 972696d31364932d1d468ad9b500a3b26369128f /net-p2p/amule/amule-2.2.2.ebuild | |
parent | Version bumped. (diff) | |
download | historical-04c64830321171784921f40fd9c8ebeae028d452.tar.gz historical-04c64830321171784921f40fd9c8ebeae028d452.tar.bz2 historical-04c64830321171784921f40fd9c8ebeae028d452.zip |
Migrate to EAPI 2.
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.29-rc6 i686
Diffstat (limited to 'net-p2p/amule/amule-2.2.2.ebuild')
-rw-r--r-- | net-p2p/amule/amule-2.2.2.ebuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/net-p2p/amule/amule-2.2.2.ebuild b/net-p2p/amule/amule-2.2.2.ebuild index 8e3047111c2e..84fcc18919c3 100644 --- a/net-p2p/amule/amule-2.2.2.ebuild +++ b/net-p2p/amule/amule-2.2.2.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.2.2.ebuild,v 1.8 2009/01/24 18:36:48 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.2.2.ebuild,v 1.9 2009/03/07 15:37:22 betelgeuse Exp $ + +EAPI="2" inherit eutils flag-o-matic wxwidgets @@ -19,7 +21,7 @@ IUSE="daemon debug geoip gtk nls remote stats unicode upnp" DEPEND="=x11-libs/wxGTK-2.8* >=dev-libs/crypto++-5.5.2 >=sys-libs/zlib-1.2.1 - stats? ( >=media-libs/gd-2.0.26 ) + stats? ( >=media-libs/gd-2.0.26[jpeg] ) geoip? ( dev-libs/geoip ) upnp? ( >=net-libs/libupnp-1.6.6 ) remote? ( >=media-libs/libpng-1.2.0 @@ -39,10 +41,6 @@ pkg_setup() { einfo "to compile aMule Statistics GUI." einfo "I will now compile console versions only." fi - - if use stats && ! built_with_use media-libs/gd jpeg; then - die "media-libs/gd should be compiled with the jpeg use flag when you have the stats use flag set" - fi } pkg_preinst() { @@ -52,7 +50,7 @@ pkg_preinst() { fi } -src_unpack () { +src_prepare() { unpack ${A} cd "${S}" @@ -60,7 +58,7 @@ src_unpack () { epatch "${FILESDIR}"/gcc-4.4.patch } -src_compile() { +src_configure() { local myconf WX_GTK_VER="2.8" @@ -104,6 +102,9 @@ src_compile() { # we filter ssp until bug #74457 is closed to build on hardened filter-flags -fstack-protector -fstack-protector-all +} + +src_compile() { emake -j1 || die } |