summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nntp/slrn/slrn-0.9.8.1_p1.ebuild')
-rw-r--r--net-nntp/slrn/slrn-0.9.8.1_p1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/net-nntp/slrn/slrn-0.9.8.1_p1.ebuild b/net-nntp/slrn/slrn-0.9.8.1_p1.ebuild
new file mode 100644
index 000000000000..4508b5a1f4eb
--- /dev/null
+++ b/net-nntp/slrn/slrn-0.9.8.1_p1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/slrn/slrn-0.9.8.1_p1.ebuild,v 1.1 2008/02/11 13:15:11 drac Exp $
+
+MY_P=${P/_p/pl}
+
+DESCRIPTION="a s-lang based newsreader"
+HOMEPAGE="http://slrn.sourceforge.net"
+SRC_URI="http://${PN}.sourceforge.net/patches/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE="nls ssl unicode uudeview"
+
+RDEPEND="virtual/mta
+ app-arch/sharutils
+ >=sys-libs/slang-2.1.3
+ ssl? ( dev-libs/openssl )
+ uudeview? ( dev-libs/uulib )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ econf --with-docdir=/usr/share/doc/${PF} \
+ --with-slrnpull $(use_with uudeview) \
+ $(use_enable nls) $(use_with ssl)
+
+ emake || die "emake failed."
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ prepalldocs
+}