blob: 8dfa38d643ea4ee775184c2bb259efca8b61acba (
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
40
41
42
43
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/cvsd/cvsd-1.0.0.ebuild,v 1.1 2003/11/01 00:33:57 max Exp $
DESCRIPTION="CVS pserver daemon."
HOMEPAGE="http://tiefighter.et.tudelft.nl/~arthur/cvsd/"
SRC_URI="http://tiefighter.et.tudelft.nl/~arthur/cvsd/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE="tcpd"
DEPEND="virtual/glibc"
RDEPEND="${DEPEND}
>=dev-lang/perl-5.8.0
>=dev-util/cvs-1.11.6"
src_compile() {
local myconf
myconf="${myconf} `use_with tcpd libwrap`"
econf ${myconf}
emake || die "compile problem"
}
src_install() {
enewgroup cvsd
enewuser cvsd -1 /bin/false /var/lib/cvsd cvsd
make DESTDIR="${D}" install || die "make install failed"
dosed 's:^Repos:# Repos:g' /etc/cvsd/cvsd.conf
keepdir /var/lib/cvsd
dodoc AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO
exeinto /etc/init.d
newexe "${FILESDIR}/cvsd.rc6" cvsd
}
pkg_postinst() {
einfo "To configure cvsd please read /usr/share/doc/${PF}/README.gz"
}
|