wok diff pdnsd/receipt @ rev 13600

Add pdnsd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 10 11:39:11 2012 +0100 (2012-11-10)
parents
children 07ae6003d013
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pdnsd/receipt	Sat Nov 10 11:39:11 2012 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pdnsd"
     1.7 +VERSION="1.2.9a"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="A proxy DNS server with permanent caching."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://members.home.nl/p.a.rombouts/pdnsd"
    1.12 +TARBALL="$PACKAGE-$VERSION-par.tar.gz"
    1.13 +WGET_URL="$WEB_SITE/releases/$TARBALL"
    1.14 +CONFIG_FILES="/etc/pdnsd.conf"
    1.15 +
    1.16 +DEPENDS=""
    1.17 +BUILD_DEPENDS=""
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
    1.24 +	make && make DESTDIR=$DESTDIR install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	cp -a $install/* $fs
    1.31 +	rm -rf $fs/usr/share
    1.32 +	mv $fs/etc/pdnsd.conf.sample $fs/etc/pdnsd.conf
    1.33 +}