diff options
Diffstat (limited to 'net-nntp/suck/suck-4.3.2.ebuild')
-rw-r--r-- | net-nntp/suck/suck-4.3.2.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/net-nntp/suck/suck-4.3.2.ebuild b/net-nntp/suck/suck-4.3.2.ebuild new file mode 100644 index 000000000000..9b1a9a0f9c96 --- /dev/null +++ b/net-nntp/suck/suck-4.3.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="Grab news from a remote NNTP server and feed them to another" +HOMEPAGE="http://home.comcast.net/~bobyetman/" +SRC_URI="http://home.comcast.net/~bobyetman/${P}.tar.gz" +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~ppc x86" +IUSE="ssl perl" + +DEPEND="sys-libs/db + perl? ( dev-lang/perl ) + ssl? ( dev-libs/openssl )" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Fix paths to the locations in Gentoo + sed -i \ + -e 's:/usr/lib/news/rnews:/usr/lib/news/bin/rnews:' \ + -e 's:/usr/news/db/history:/var/spool/news/db/history:' \ + suck_config.h +} + +src_compile() { + use ssl || sed -i -e 's/^SSL_/#SSL_/' Makefile.in + use perl || sed -i -e 's/^PERL_/#PERL_/' Makefile.in + + econf || die "econf failed" + + emake phrases.h || die "emake phrases.h failed" + emake all lpost || die "emake failed" +} + +src_install() { + dobin lmove lpost rpost suck testhost + doman man/* + dodoc CHANGELOG CONTENTS README* + docinto java + dodoc java/* + docinto perl + dodoc perl/* + docinto sample + dodoc sample/* +} |