From ed40676841e317a2aafa04c4c804bb6043864740 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 26 Feb 2016 23:50:05 +0000 Subject: repo cleanup...drop old ebuilds, drop ebuilds already in portage tree --- net-p2p/gnunet/gnunet-0.9.5a.ebuild | 82 ------------------------------------- 1 file changed, 82 deletions(-) delete mode 100644 net-p2p/gnunet/gnunet-0.9.5a.ebuild (limited to 'net-p2p/gnunet/gnunet-0.9.5a.ebuild') diff --git a/net-p2p/gnunet/gnunet-0.9.5a.ebuild b/net-p2p/gnunet/gnunet-0.9.5a.ebuild deleted file mode 100644 index eb1ab828..00000000 --- a/net-p2p/gnunet/gnunet-0.9.5a.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=2 - -inherit eutils autotools - -MY_PV="${PV/_/}" - -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://ftp.gnu.org/gnu/gnunet/${PN}-${MY_PV}.tar.gz" -#tests don't work -RESTRICT="test" - -IUSE="mysql nls sqlite postgres" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" -S="${WORKDIR}/${PN}-${MY_PV}" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.6.1 - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - net-misc/curl - sys-apps/sed - mysql? ( >=virtual/mysql-5.1 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext ) - >=net-libs/libmicrohttpd-0.9.18 - dev-libs/libunistring - >=sci-mathematics/glpk-4.45" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd - enewuser gnunetd -1 -1 /dev/null gnunetd -} - -src_prepare() { - sed -i 's:@GN_USER_HOME_DIR@:/etc:g' src/include/gnunet_directories.h.in - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - myconf=" --with-sudo --with-nssdir=/usr/lib" - use mysql || myconf="${myconf} --without-mysql" - use postgres || myconf="${myconf} --without-postgres" - econf \ - $(use_enable nls) \ - ${myconf} || die "econf failed" - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS README - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd-0.9.0v2 gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - ewarn "This ebuild is HIGLY experimental" -} -- cgit v1.2.3