/[gentoo-x86]/dev-vcs/cvsd/cvsd-1.0.7.ebuild
Gentoo

Contents of /dev-vcs/cvsd/cvsd-1.0.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jun 7 21:48:58 2012 UTC (2 years, 2 months ago) by zmedico
Branch: MAIN
Changes since 1.1: +3 -3 lines
inherit user for enewgroup and enewuser

(Portage version: 2.2.0_alpha110/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvsd/cvsd-1.0.7.ebuild,v 1.1 2010/06/19 00:30:49 abcd Exp $
4
5 inherit eutils user
6
7 DESCRIPTION="CVS pserver daemon."
8 HOMEPAGE="http://ch.tudelft.nl/~arthur/cvsd/"
9 SRC_URI="http://ch.tudelft.nl/~arthur/cvsd/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ppc ~sparc x86"
14 IUSE="tcpd"
15
16 DEPEND="tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
17 RDEPEND="${DEPEND}
18 >=dev-lang/perl-5.8.0
19 >=dev-vcs/cvs-1.11.6"
20
21 pkg_setup() {
22 enewgroup cvsd
23 enewuser cvsd -1 -1 /var/lib/cvsd cvsd
24 }
25
26 src_compile() {
27 econf $(use_with tcpd libwrap) || die "econf failed"
28 emake || die "emake failed"
29 }
30
31 src_install() {
32 make DESTDIR="${D}" install || die "make install failed"
33 dosed 's:^Repos:# Repos:g' /etc/cvsd/cvsd.conf
34 keepdir /var/lib/cvsd
35
36 dodoc AUTHORS ChangeLog FAQ INSTALL NEWS README TODO
37
38 newinitd "${FILESDIR}"/cvsd.rc6 ${PN}
39 }
40
41 pkg_postinst() {
42 elog "To configure cvsd please read the README in "
43 elog "/usr/share/doc/${PF}/"
44 }

  ViewVC Help
Powered by ViewVC 1.1.20