--- slrn-0.9.9_p1.ebuild 2009-04-05 01:08:24.000000000 -0700 +++ slrn-1.0.0_pre18.ebuild 2010-04-10 02:07:04.441915264 -0700 @@ -1,14 +1,16 @@ -# 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: $ + +EAPI="2" inherit eutils -MY_P="${P/_}" +MY_P="${PN}-pre${PV/_pre/~}" DESCRIPTION="a s-lang based newsreader" HOMEPAGE="http://slrn.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +SRC_URI="http://slrn.sourceforge.net/downloads/svn_snapshots/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" @@ -23,25 +25,19 @@ DEPEND="${RDEPEND} nls? ( sys-devel/gettext )" -S="${WORKDIR}"/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" +S="${WORKDIR}"/${PN} - epatch "${FILESDIR}"/${P}-dont-strip.patch +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.9.9_p1-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() {