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 (-17 / +15 lines)
Lines 1-47 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"
15
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
17
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
16
IUSE="nls ssl uudeview"
18
IUSE="canlock nls ssl uudeview"
17
19
18
RDEPEND="virtual/mta
20
RDEPEND="virtual/mta
19
	app-arch/sharutils
21
	app-arch/sharutils
20
	>=sys-libs/slang-2.1.3
22
	>=sys-libs/slang-2.1.3
23
	canlock? ( net-libs/canlock )
21
	ssl? ( dev-libs/openssl )
24
	ssl? ( dev-libs/openssl )
22
	uudeview? ( dev-libs/uulib )"
25
	uudeview? ( dev-libs/uulib )"
23
DEPEND="${RDEPEND}
26
DEPEND="${RDEPEND}
24
	nls? ( sys-devel/gettext )"
27
	nls? ( sys-devel/gettext )"
25
28
26
S="${WORKDIR}"/${MY_P}
29
S="${WORKDIR}"/${PN}
27
28
src_unpack() {
29
	unpack ${A}
30
	cd "${S}"
31
30
32
	epatch "${FILESDIR}"/${P}-dont-strip.patch
31
src_prepare() {
32
	epatch "${FILESDIR}"/${PN}-0.9.9_p1-dont-strip.patch
33
}
33
}
34
34
35
src_compile() {
35
src_configure() {
36
	econf \
36
	econf \
37
		--with-docdir=/usr/share/doc/${PF} \
37
		--with-docdir=/usr/share/doc/${PF} \
38
		--with-slrnpull \
38
		--with-slrnpull \
39
		$(use_with uudeview) \
39
		$(use_with canlock) \
40
		$(use_with uudeview uu) \
40
		$(use_enable nls) \
41
		$(use_enable nls) \
41
		$(use_with ssl) \
42
		$(use_with ssl)
42
		|| die "econf failed"
43
44
	emake || die "emake failed."
45
}
43
}
46
44
47
src_install() {
45
src_install() {

Return to bug 308643