summaryrefslogtreecommitdiff
blob: c4f92da60b427b94b3a5d9b78963cee928384f73 (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
# 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-0.9.19.ebuild,v 1.2 2003/08/07 03:30:25 vapier 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"

DEPEND="virtual/glibc"

src_compile() {
	local myconf=""
	use tcpd && myconf="--with-libwrap"
	econf ${myconf} || die
	make || die
}

src_install() {                               
	dosbin cvsd cvsd-buildroot cvsd-passwd 
	insinto /etc/cvsd
	newins cvsd.conf-dist cvsd.conf
	
	dodoc COPYING* ChangeLog*  FAQ 
	dodoc NEWS README* TODO

	doman cvsd-buildroot.8 cvsd-passwd.8 cvsd.8 cvsd.conf.5
	
	exeinto /etc/init.d ; newexe ${FILESDIR}/cvsd.init cvsd
	insinto /etc/conf.d ; newins ${FILESDIR}/cvsd.confd cvsd
}

pkg_postinst() {
	einfo
	einfo "To configure cvsd please read /usr/share/cvsd-0.9.17/README.gz"
	einfo
}