Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 308643 | Differences between
and this patch

Collapse All | Expand All

(-)slrn-0.9.9_p1.ebuild (-15 / +11 lines)
Lines 1-14 Link Here
1
# Copyright 1999-2008 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $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 $
3
# $Header: $
4
5
EAPI="2"
4
6
5
inherit eutils
7
inherit eutils
6
8
7
MY_P="${P/_}"
9
MY_P="${PN}-pre${PV/_pre/~}"
8
10
9
DESCRIPTION="a s-lang based newsreader"
11
DESCRIPTION="a s-lang based newsreader"
10
HOMEPAGE="http://slrn.sourceforge.net/"
12
HOMEPAGE="http://slrn.sourceforge.net/"
11
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
13
SRC_URI="http://slrn.sourceforge.net/downloads/svn_snapshots/${MY_P}.tar.bz2"
12
14
13
LICENSE="GPL-2"
15
LICENSE="GPL-2"
14
SLOT="0"
16
SLOT="0"
Lines 23-47 Link Here
23
DEPEND="${RDEPEND}
25
DEPEND="${RDEPEND}
24
	nls? ( sys-devel/gettext )"
26
	nls? ( sys-devel/gettext )"
25
27
26
S="${WORKDIR}"/${MY_P}
28
S="${WORKDIR}"/${PN}
27
28
src_unpack() {
29
	unpack ${A}
30
	cd "${S}"
31
29
32
	epatch "${FILESDIR}"/${P}-dont-strip.patch
30
src_prepare() {
31
	epatch "${FILESDIR}"/${PN}-0.9.9_p1-dont-strip.patch
33
}
32
}
34
33
35
src_compile() {
34
src_configure() {
36
	econf \
35
	econf \
37
		--with-docdir=/usr/share/doc/${PF} \
36
		--with-docdir=/usr/share/doc/${PF} \
38
		--with-slrnpull \
37
		--with-slrnpull \
39
		$(use_with uudeview) \
38
		$(use_with uudeview) \
40
		$(use_enable nls) \
39
		$(use_enable nls) \
41
		$(use_with ssl) \
40
		$(use_with ssl)
42
		|| die "econf failed"
43
44
	emake || die "emake failed."
45
}
41
}
46
42
47
src_install() {
43
src_install() {

Return to bug 308643