/[gentoo-x86]/net-nntp/leafnode/leafnode-2.0.0_alpha20060711.ebuild
Gentoo

Contents of /net-nntp/leafnode/leafnode-2.0.0_alpha20060711.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Oct 6 17:20:01 2006 UTC (11 years, 7 months ago) by swegener
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump in the development series.
(Portage version: 2.1.2_pre2-r4)
 (Signed Manifest commit)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-nntp/leafnode/leafnode-2.0.0_alpha20060711.ebuild,v 1.1 2006/08/09 18:54:15 swegener Exp $
4
5 inherit flag-o-matic
6
7 MY_P=${P/_/.}a
8
9 DESCRIPTION="A USENET software package designed for small sites"
10 SRC_URI="http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/${MY_P}.tar.bz2"
11 HOMEPAGE="http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/"
12 LICENSE="LGPL-2.1"
13 SLOT="0"
14 KEYWORDS="~x86 ~ppc ~sparc"
15 IUSE="ipv6 pam"
16
17 DEPEND=">=dev-libs/libpcre-3.9
18 pam? ( sys-libs/pam )"
19 RDEPEND="${DEPEND}
20 virtual/inetd"
21
22 S="${WORKDIR}/${MY_P}"
23
24 src_compile() {
25 append-ldflags $(bindnow-flags)
26
27 econf \
28 --sysconfdir=/etc/leafnode \
29 --with-runas-user=news \
30 --localstatedir=/var \
31 --with-spooldir=/var/spool/news \
32 $(use_with ipv6) \
33 $(use_with pam) \
34 || die "econf failed"
35 emake || die "emake failed"
36 }
37
38 src_install() {
39 make DESTDIR="${D}" install || die "make install failed"
40
41 keepdir \
42 /var/lock/news \
43 /var/lib/news \
44 /var/spool/news
45
46 insinto /etc/leafnode
47 doins "${FILESDIR}"/{local.groups,moderators} || die "doins failed"
48
49 insinto /etc/xinetd.d
50 newins "${FILESDIR}"/leafnode.xinetd leafnode-nntp || die "newins failed"
51
52 exeinto /etc/cron.hourly
53 newexe "${FILESDIR}"/fetchnews.cron fetchnews || die "doexe failed"
54 exeinto /etc/cron.daily
55 newexe "${FILESDIR}"/texpire.cron texpire || die "doexe failed"
56
57 dodoc \
58 AUTHORS COPYING* CREDITS ChangeLog DEBUGGING ENVIRONMENT \
59 INSTALL NEWS TODO README || die "dodoc failed"
60 dohtml README.html || die "dohtml failed"
61 }

  ViewVC Help
Powered by ViewVC 1.1.20