diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-04-08 08:54:02 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-04-08 08:54:02 +0000 |
commit | 96e70efc79bbf95913acbeedc51c74ca8842685d (patch) | |
tree | 6590c8d1efdaf1eb08e9e6a129c270c245a5164c /net-p2p | |
parent | Stable on alpha, bug #215589 (diff) | |
download | historical-96e70efc79bbf95913acbeedc51c74ca8842685d.tar.gz historical-96e70efc79bbf95913acbeedc51c74ca8842685d.tar.bz2 historical-96e70efc79bbf95913acbeedc51c74ca8842685d.zip |
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/amule/ChangeLog | 8 | ||||
-rw-r--r-- | net-p2p/amule/Manifest | 4 | ||||
-rw-r--r-- | net-p2p/amule/amule-2.2.0_pre20080407.ebuild | 115 |
3 files changed, 125 insertions, 2 deletions
diff --git a/net-p2p/amule/ChangeLog b/net-p2p/amule/ChangeLog index 604cbc101553..25cb0c777d1d 100644 --- a/net-p2p/amule/ChangeLog +++ b/net-p2p/amule/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-p2p/amule # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v 1.112 2008/03/30 23:12:01 coldwind Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v 1.113 2008/04/08 08:54:02 armin76 Exp $ + +*amule-2.2.0_pre20080407 (08 Apr 2008) + + 08 Apr 2008; Raúl Porcel <armin76@gentoo.org> + +amule-2.2.0_pre20080407.ebuild: + Version bump 30 Mar 2008; Santiago M. Mola <coldwind@gentoo.org> amule-2.2.0_pre20080304.ebuild: diff --git a/net-p2p/amule/Manifest b/net-p2p/amule/Manifest index aa17ae758e7f..c994b585cdd8 100644 --- a/net-p2p/amule/Manifest +++ b/net-p2p/amule/Manifest @@ -6,9 +6,11 @@ AUX amuleweb.initd 1236 RMD160 d9f417c3145a26d0e2e0879ab8fe4cc6b569dd35 SHA1 c4f DIST aMule-2.1.3.tar.bz2 3248530 RMD160 fcc345000e5ad0a221d1e96d0d514f3be36428c3 SHA1 dd47deb38e7a5b823550b85150f5a814c597b273 SHA256 6e97e947bb7ac231b75e3b21a509a2ec0239bcd7e9dbfc6062c520a6d13b0244 DIST aMule-CVS-20080304.tar.bz2 4027066 RMD160 b937956d6bc16a825e9a4c4533c3c7d3f0c2d163 SHA1 75a40c8fa0f6087477ac21113a5fbf93293c8a55 SHA256 a8db3a4a5969741056b2ba1fd04aec9b34b0da8f9934b27bfd46d9d74fe2b875 DIST aMule-CVS-20080324.tar.bz2 4179421 RMD160 06a241e8d14c8c3750a13ce9ece3889bae40e7d5 SHA1 2883987de1a06e6a6a90900f1ce0fa8894bb6c69 SHA256 5f022820244e6e05bbd2600f4655f98d4a98f272ef05bc50731c996aff312dd5 +DIST aMule-CVS-20080407.tar.bz2 4501198 RMD160 7e3bec0072b477d0dd00baab12f5cc7bf04a8682 SHA1 a022c6be8e8de95f2b90384e00b978f3d76dcb67 SHA256 5239c53d5b9ccdbdc5b38acaecba0d8aa1e7cc11f36ba68bb6bdeab92e36f92f EBUILD amule-2.1.3-r1.ebuild 3055 RMD160 a8b3effdc140b8293219808f603d4166a165510d SHA1 ecf37cc6e80b0ea84de955b78c8053be1621e38c SHA256 0b160f0d2b3515a1b9b5021130d19c53b2a319fbe3837ac43e9182b56c925f5e EBUILD amule-2.1.3.ebuild 3013 RMD160 0435e512f6b69ae8e47cf697fa26e0101553ad9f SHA1 421e60db1e7e7041df32437b00ae8b1c4a84cc16 SHA256 e680653b5c7925ae07d8f3282927f9f97831db5a081b8eb1445a4efccd7158ef EBUILD amule-2.2.0_pre20080304.ebuild 3002 RMD160 e7ad2dbb43fbad6dab0c374cb1ea74769d944b46 SHA1 7468352f3bbd1e126c4e2ec3f813dfdaf1169e08 SHA256 0a0675ec8c14463cb95025c5cdf5f50257183f9aed18fc28667e2c751723a097 EBUILD amule-2.2.0_pre20080324.ebuild 3007 RMD160 6184702b53d0c198740fa0e0f80e7a6796bd8494 SHA1 6a21e495871d0e4b6c9e1e1083cc698719d91ae1 SHA256 f8b73f6ed05818c0c66760c7a3eb7c99bf346c4262658ce8b78d5825340c5783 -MISC ChangeLog 16399 RMD160 10658f61759e32e370144986e056c13744fc9c9c SHA1 45047e55674ccd061845346207ef8d8ceba1c269 SHA256 16579c6f0b94061a0a00dee335b949ab8ef2451ac5c44285db046633966c7e01 +EBUILD amule-2.2.0_pre20080407.ebuild 3007 RMD160 861d1af69edeca00ce48c0b62fa97af1a407a3be SHA1 2093b1c91a56bd698ef1bd319a2ecf3277e7561e SHA256 0f8e2195385dd5d6b77a153fa707740654055abb687bfd215264cbb8879dd37f +MISC ChangeLog 16538 RMD160 2b4f1ff1f564185b86a44e742cf8f3f14f4951a1 SHA1 9cc3ef1d9d0cef614632c8c19bff54f99e480478 SHA256 544aba81a18f2de7581691f91785b896b22f70d75b51a0bc952e0202b088e855 MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f diff --git a/net-p2p/amule/amule-2.2.0_pre20080407.ebuild b/net-p2p/amule/amule-2.2.0_pre20080407.ebuild new file mode 100644 index 000000000000..553ad509c00c --- /dev/null +++ b/net-p2p/amule/amule-2.2.0_pre20080407.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080407.ebuild,v 1.1 2008/04/08 08:54:02 armin76 Exp $ + +inherit eutils flag-o-matic wxwidgets autotools + +MY_P=${PN/m/M}-CVS-${PV/2.2.0_pre/} +S="${WORKDIR}/${PN}-cvs" + +DESCRIPTION="aMule, the all-platform eMule p2p client" +HOMEPAGE="http://www.amule.org/" +SRC_URI="http://www.hirnriss.net/files/cvs/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="daemon debug geoip gtk nls remote stats unicode upnp" + +DEPEND="=x11-libs/wxGTK-2.8* + dev-libs/crypto++ + >=sys-libs/zlib-1.2.1 + stats? ( >=media-libs/gd-2.0.26 ) + geoip? ( dev-libs/geoip ) + upnp? ( net-libs/libupnp ) + remote? ( >=media-libs/libpng-1.2.0 + unicode? ( >=media-libs/gd-2.0.26 ) )" + +pkg_setup() { + if ! use gtk && ! use remote && ! use daemon; then + eerror "" + eerror "You have to specify at least one of gtk, remote or daemon" + eerror "USE flag to build amule." + eerror "" + die "Invalid USE flag set" + fi + + if use stats && ! use gtk; then + einfo "Note: You would need both the gtk and stats USE flags" + 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() { + if use daemon || use remote; then + enewgroup p2p + enewuser p2p -1 -1 /home/p2p p2p + fi +} + +src_compile() { + local myconf + + WX_GTK_VER="2.8" + + if use gtk; then + einfo "wxGTK with gtk support will be used" + need-wxwidgets unicode + else + einfo "wxGTK without X support will be used" + need-wxwidgets base + fi + + if use gtk ; then + use stats && myconf="${myconf} + --enable-wxcas + --enable-alc" + use remote && myconf="${myconf} + --enable-amule-gui" + else + myconf=" + --disable-monolithic + --disable-amule-gui + --disable-wxcas + --disable-alc" + fi + + econf \ + --with-wx-config=${WX_CONFIG} \ + --with-wxbase-config=${WX_CONFIG} \ + --enable-amulecmd \ + $(use_enable debug) \ + $(use_enable !debug optimize) \ + $(use_enable daemon amule-daemon) \ + $(use_enable geoip) \ + $(use_enable nls) \ + $(use_enable remote webserver) \ + $(use_enable stats cas) \ + $(use_enable stats alcc) \ + ${myconf} || die + + # we filter ssp until bug #74457 is closed to build on hardened + filter-flags -fstack-protector -fstack-protector-all + + emake -j1 || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + if use daemon; then + newconfd "${FILESDIR}"/amuled.confd amuled + newinitd "${FILESDIR}"/amuled.initd amuled + fi + + if use remote; then + newconfd "${FILESDIR}"/amuleweb.confd amuleweb + newinitd "${FILESDIR}"/amuleweb.initd amuleweb + make_desktop_entry amulegui "aMule Remote" amule "Network;P2P" + fi +} |