summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2004-06-18 18:30:56 +0000
committerSven Wegener <swegener@gentoo.org>2004-06-18 18:30:56 +0000
commitd038ecffafb25343fb13f5b0606900f55df194b4 (patch)
tree4f3245723c408c94492a00e0579927c58db643dc /net-news/slrn/slrn-0.9.8.0-r1.ebuild
parent~amd64 (Manifest recommit) (diff)
downloadgentoo-2-d038ecffafb25343fb13f5b0606900f55df194b4.tar.gz
gentoo-2-d038ecffafb25343fb13f5b0606900f55df194b4.tar.bz2
gentoo-2-d038ecffafb25343fb13f5b0606900f55df194b4.zip
Added support for yEnc encoded articles. Integrated four patches from upstream. Added metadata.xml.
Diffstat (limited to 'net-news/slrn/slrn-0.9.8.0-r1.ebuild')
-rw-r--r--net-news/slrn/slrn-0.9.8.0-r1.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/net-news/slrn/slrn-0.9.8.0-r1.ebuild b/net-news/slrn/slrn-0.9.8.0-r1.ebuild
new file mode 100644
index 000000000000..ec8aa159e911
--- /dev/null
+++ b/net-news/slrn/slrn-0.9.8.0-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/slrn/slrn-0.9.8.0-r1.ebuild,v 1.1 2004/06/18 18:30:56 swegener Exp $
+
+inherit eutils
+
+# Upstream patches from http://slrn.sourceforge.net/patches/
+# ${FILESDIR}/${PV}/${P}-<name>.diff
+SLRN_PATCHES="mime post ranges ranges2"
+
+DESCRIPTION="s-lang Newsreader"
+HOMEPAGE="http://slrn.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+SLOT="0"
+LICENSE="GPL-2"
+#KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64"
+KEYWORDS="~x86"
+IUSE="ssl nls uudeview"
+
+RDEPEND="virtual/mta
+ >=app-arch/sharutils-4.2.1
+ >=sys-libs/slang-1.4.4
+ ssl? ( >=dev-libs/openssl-0.9.6 )"
+DEPEND="${RDEPEND}
+ uudeview? ( dev-libs/uulib )
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ for i in ${SLRN_PATCHES} ; do
+ epatch ${FILESDIR}/${PV}/${P}-${i}.diff
+ done
+}
+
+src_compile() {
+ econf \
+ --with-docdir=/usr/share/doc/${PF} \
+ --with-slrnpull \
+ `use_enable nls` \
+ `use_with ssl` \
+ `use_with uudeview` \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install () {
+ make DESTDIR=${D} install || die "make install failed"
+}