diff options
author | Sven Wegener <swegener@gentoo.org> | 2005-01-17 20:05:02 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2005-01-17 20:05:02 +0000 |
commit | eac4270c4547fe666a38877bdf130f07e517e158 (patch) | |
tree | 0e72bd6cbfed1a2786df5fe75489565f4680830c /net-nntp/nget/nget-0.27.ebuild | |
parent | Moved to net-nntp/newspost. (diff) | |
download | gentoo-2-eac4270c4547fe666a38877bdf130f07e517e158.tar.gz gentoo-2-eac4270c4547fe666a38877bdf130f07e517e158.tar.bz2 gentoo-2-eac4270c4547fe666a38877bdf130f07e517e158.zip |
Moved from net-news/nget to net-nntp/nget.
Diffstat (limited to 'net-nntp/nget/nget-0.27.ebuild')
-rw-r--r-- | net-nntp/nget/nget-0.27.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/net-nntp/nget/nget-0.27.ebuild b/net-nntp/nget/nget-0.27.ebuild new file mode 100644 index 000000000000..b840b52f7088 --- /dev/null +++ b/net-nntp/nget/nget-0.27.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-nntp/nget/nget-0.27.ebuild,v 1.1 2005/01/17 20:05:02 swegener Exp $ + +DESCRIPTION="Network utility to retrieve files from an NNTP news server" +HOMEPAGE="http://nget.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +RESTRICT="nomirror" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~arm ~ppc ~amd64" +IUSE="static debug ipv6 pcre zlib" + +RDEPEND="virtual/libc + dev-libs/popt + pcre? ( dev-libs/libpcre ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + dev-libs/uulib" + +src_compile() { + econf \ + $(use_enable debug) \ + $(use_enable ipv6) \ + $(use_with pcre) \ + $(use_with zlib) \ + || die "econf failed" + + if use static ; then + emake LDFLAGS="-static" || die "emake failed" + else + emake || die "emake failed" + fi +} + +src_install() { + make \ + prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + install || die "install failed" + + dodoc COPYING Changelog FAQ README TODO + newdoc .ngetrc ngetrc.sample +} |