summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nntp/slrn/slrn-0.9.9_p1.ebuild')
-rw-r--r--net-nntp/slrn/slrn-0.9.9_p1.ebuild25
1 files changed, 10 insertions, 15 deletions
diff --git a/net-nntp/slrn/slrn-0.9.9_p1.ebuild b/net-nntp/slrn/slrn-0.9.9_p1.ebuild
index dd619c392273..1fe658a44244 100644
--- a/net-nntp/slrn/slrn-0.9.9_p1.ebuild
+++ b/net-nntp/slrn/slrn-0.9.9_p1.ebuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/slrn/slrn-0.9.9_p1.ebuild,v 1.1 2008/10/07 21:31:16 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/slrn/slrn-0.9.9_p1.ebuild,v 1.2 2010/08/02 15:20:36 ssuominen Exp $
+EAPI=2
inherit eutils
-MY_P="${P/_}"
+MY_P=${P/_}
-DESCRIPTION="a s-lang based newsreader"
+DESCRIPTION="A s-lang based newsreader"
HOMEPAGE="http://slrn.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
@@ -23,28 +24,22 @@ RDEPEND="virtual/mta
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
-S="${WORKDIR}"/${MY_P}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
+S=${WORKDIR}/${MY_P}
+src_prepare() {
epatch "${FILESDIR}"/${P}-dont-strip.patch
}
-src_compile() {
+src_configure() {
econf \
--with-docdir=/usr/share/doc/${PF} \
--with-slrnpull \
$(use_with uudeview) \
$(use_enable nls) \
- $(use_with ssl) \
- || die "econf failed"
-
- emake || die "emake failed."
+ $(use_with ssl)
}
src_install() {
- emake -j1 DESTDIR="${D}" install || die "emake install failed."
+ emake -j1 DESTDIR="${D}" install || die
prepalldocs
}