diff options
author | 2010-04-20 22:45:58 +0200 | |
---|---|---|
committer | 2010-04-20 22:45:58 +0200 | |
commit | 0a7b79fa006b62dc745e3c3c33386dbe049ada11 (patch) | |
tree | 1859f92f5ead72d463ae2024dfd8a67ed9979cf2 | |
parent | Added net-p2p/gift (diff) | |
download | sochotnicky-0a7b79fa006b62dc745e3c3c33386dbe049ada11.tar.gz sochotnicky-0a7b79fa006b62dc745e3c3c33386dbe049ada11.tar.bz2 sochotnicky-0a7b79fa006b62dc745e3c3c33386dbe049ada11.zip |
Revbump to enable alternative imagemagick dep
-rw-r--r-- | net-p2p/gift/Manifest | 1 | ||||
-rw-r--r-- | net-p2p/gift/gift-0.11.8.1-r2.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/net-p2p/gift/Manifest b/net-p2p/gift/Manifest index 0879443..f5abece 100644 --- a/net-p2p/gift/Manifest +++ b/net-p2p/gift/Manifest @@ -2,5 +2,6 @@ AUX gift.confd 637 RMD160 23251f99424964430cceeaa7e2f3636ca69b2149 SHA1 cc528317 AUX gift.initd 828 RMD160 2e38a6d80c05a966dd018ddc62dce639864651bf SHA1 f386a0b2ff31197102405ee83baa069833fa6eec SHA256 31b5c6bccba5805935addf2d57d4d0f27a12535246399df0dc9fa51a2ad040c8 DIST gift-0.11.8.1.tar.bz2 541446 RMD160 cef5fe571eff21a61219ce40501652c7b1997a02 SHA1 eda16a9abead7552859679696605f7e7350b0bb2 SHA256 7b22e6d36482119a0d2dfd3e911a208439be32f554919536629b4c7c22ea5882 EBUILD gift-0.11.8.1-r1.ebuild 1944 RMD160 b81c655a4aaae6364bdfe0bee44af3a99dde368e SHA1 0fc746efe4770bac7e2f5dfe54acd733ea41c4fc SHA256 425bb1ca98f293e0759876ce35b892e649fd3d0083c910d3e654f6b4948a71ab +EBUILD gift-0.11.8.1-r2.ebuild 2010 RMD160 f71033062e632cb91b0be121bcaab7b567b35c03 SHA1 d19894463cd430193217fd965f6238bf6e49e51b SHA256 6399c933804672837911a53a7f310d90f02485cff4f35226e940e9cd51516a4c MISC ChangeLog 6182 RMD160 8f0a2fa677a36807cb218fe385e410a357bbf3b0 SHA1 2dc58f30042624e904b2127229bf574bb04f125b SHA256 6f41896f6527d433e18fa5039fdca42e7fabce3f59af33d419a6af97a7204f7d MISC metadata.xml 466 RMD160 d97134e2f8635888bae49d5dfa5d48e00238df9e SHA1 947c7b498788589f707c91da9d9a6f1f5e0c96a4 SHA256 dba84e3d0a6dc35e46c7ae504c7982b5fbe5e71586ab93d285b7cae720bea1f9 diff --git a/net-p2p/gift/gift-0.11.8.1-r2.ebuild b/net-p2p/gift/gift-0.11.8.1-r2.ebuild new file mode 100644 index 0000000..4b6969b --- /dev/null +++ b/net-p2p/gift/gift-0.11.8.1-r2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gift/gift-0.11.8.1-r1.ebuild,v 1.8 2007/05/24 19:47:06 opfer Exp $ + +EAPI="2" +inherit eutils libtool + +DESCRIPTION="A OpenFT, Gnutella and FastTrack p2p network daemon" +HOMEPAGE="http://gift.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +IUSE="ares fasttrack gnutella imagemagick openft vorbis" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" + + +DEPEND=">=sys-libs/zlib-1.1.4 + sys-apps/file + imagemagick? ( || ( >=media-gfx/imagemagick-5.5.7.15 + media-gfx/graphicsmagick[imagemagick] ) ) + vorbis? ( >=media-libs/libvorbis-1 )" +PDEPEND="ares? ( net-p2p/gift-ares ) + fasttrack? ( net-p2p/gift-fasttrack ) + gnutella? ( net-p2p/gift-gnutella ) + openft? ( net-p2p/gift-openft )" + +GIFTUSER="p2p" + +pkg_preinst() { + # Add a new user + enewuser ${GIFTUSER} -1 /bin/bash /home/p2p users +} + +src_compile() { + econf --enable-libmagic \ + `use_enable imagemagick` \ + `use_enable vorbis libvorbis` || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die "Install failed" + + # init scripts for users who want a central server + newconfd ${FILESDIR}/gift.confd gift + newinitd ${FILESDIR}/gift.initd gift + + touch ${D}/usr/share/giFT/giftd.log + chown ${GIFTUSER}:root ${D}/usr/share/giFT/giftd.log +} + +pkg_postinst() { + elog "Configure gift in /usr/share/giFT/ or run gift-setup" + elog "as normal user and make:" + elog 'cp -R $HOME/.giFT/* /usr/share/giFT/' + elog "chown -R p2p:root /usr/share/giFT/*" + elog "(be carefull while specyfing directories in gift-setup;" + elog "keep in mind that giFT will run as process of user " + elog 'specified in /etc/conf.d/gift with his $HOME directory)' + echo + elog "Also, if you will be using the giFT init script, you" + elog "will need to create /usr/share/giFT/giftd.conf" + elog "This method is only recommended for users with a" + elog "central giFT server." + echo +} |