/[gentoo-x86]/net-dns/dnrd/dnrd-2.20.3-r1.ebuild
Gentoo

Contents of /net-dns/dnrd/dnrd-2.20.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jun 14 02:05:55 2012 UTC (2 years, 2 months ago) by zmedico
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
inherit user for enewgroup and enewuser

(Portage version: 2.2.0_alpha110_p32/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/net-dns/dnrd/dnrd-2.20.3-r1.ebuild,v 1.1 2008/10/15 10:20:11 armin76 Exp $
4
5 inherit autotools eutils user
6
7 DESCRIPTION="A caching DNS proxy server"
8 HOMEPAGE="http://dnrd.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/dnrd/${P}.tar.gz"
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="~amd64 ~ppc ~x86"
13 IUSE="debug"
14 DEPEND=""
15
16 src_unpack() {
17 unpack ${A}
18 cd "${S}"
19 epatch "${FILESDIR}"/${P}-docdir.patch
20 eautoreconf
21 }
22
23 src_compile() {
24 econf \
25 $(use_enable debug) \
26 --disable-dependency-tracking \
27 --docdir=/usr/share/doc/${PF} \
28 || die
29
30 emake || die
31 }
32
33 src_install() {
34 emake DESTDIR="${D}" install || die
35
36 keepdir /etc/dnrd
37 doinitd ${FILESDIR}/dnrd
38 newconfd ${FILESDIR}/dnrd.conf dnrd
39 }
40
41 pkg_postinst() {
42 enewgroup dnrd
43 enewuser dnrd -1 -1 /dev/null dnrd
44 }

  ViewVC Help
Powered by ViewVC 1.1.20