blob: 8946be7272f05c751db61d40f93fd354605bd667 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2005 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.0.ebuild,v 1.1 2005/01/17 20:11:08 swegener Exp $
IUSE="ssl nls"
DESCRIPTION="s-lang Newsreader"
PATCH_URI="http://slrn.sourceforge.net/patches"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~ppc sparc alpha ia64"
HOMEPAGE="http://slrn.sourceforge.net/"
RDEPEND="virtual/libc
virtual/mta
>=app-arch/sharutils-4.2.1
>=sys-libs/slang-1.4.4
ssl? ( >=dev-libs/openssl-0.9.6 )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_compile() {
econf \
--with-docdir=/usr/share/doc/${PF} \
--with-slrnpull \
$(use_enable nls) \
$(use_with ssl) \
$(use_with uudeview) \
|| die "econf failed"
emake || die "emake failed"
}
src_install () {
make DESTDIR=${D} DOCDIR=/usr/share/doc/${P} install || die
find $D/usr/share/doc -type f | xargs gzip
}
|