blob: 7d11b70a7ed246a6571acb53d699e2ae2406067e (
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
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Jerry A! <jerry@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.1.6-r7.ebuild,v 1.1 2002/06/29 00:55:03 bangert Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Proxy DNS server with permanent caching"
SRC_URI="http://home.t-online.de/home/Moestl/${P}.tar.bz2"
HOMEPAGE="http://home.t-online.de/home/Moestl/"
SLOT="0"
DEPEND="virtual/glibc"
src_compile() {
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--sysconfdir=/etc/pdnsd \
--with-cachedir=/var/lib/pdnsd \
--host=${CHOST} || die "bad configure"
emake all || die "compile problem"
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS COPYING* ChangeLog* NEWS README THANKS TODO
docinto contrib ; dodoc contrib/{README,dhcp2pdnsd,pdnsd_dhcp.pl}
docinto html ; dodoc doc/html/*
docinto txt ; dodoc doc/txt/*
newdoc doc/pdnsd.conf pdnsd.conf.sample
exeinto /etc/init.d ; newexe ${FILESDIR}/pdnsd.rc6 pdnsd
}
|