wok annotate 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 |
rev | line source |
---|---|
pascal@13600 | 1 # SliTaz package receipt. |
pascal@13600 | 2 |
pascal@13600 | 3 PACKAGE="pdnsd" |
pascal@13600 | 4 VERSION="1.2.9a" |
pascal@13600 | 5 CATEGORY="network" |
pascal@13600 | 6 SHORT_DESC="A proxy DNS server with permanent caching." |
pascal@13600 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13600 | 8 WEB_SITE="http://members.home.nl/p.a.rombouts/pdnsd" |
pascal@13600 | 9 TARBALL="$PACKAGE-$VERSION-par.tar.gz" |
pascal@13600 | 10 WGET_URL="$WEB_SITE/releases/$TARBALL" |
pascal@13600 | 11 CONFIG_FILES="/etc/pdnsd.conf" |
pascal@13600 | 12 |
pascal@13600 | 13 DEPENDS="" |
pascal@13600 | 14 BUILD_DEPENDS="" |
pascal@13600 | 15 |
pascal@13600 | 16 # Rules to configure and make the package. |
pascal@13600 | 17 compile_rules() |
pascal@13600 | 18 { |
pascal@13600 | 19 cd $src |
pascal@13600 | 20 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS && |
pascal@13600 | 21 make && make DESTDIR=$DESTDIR install |
pascal@13600 | 22 } |
pascal@13600 | 23 |
pascal@13600 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13600 | 25 genpkg_rules() |
pascal@13600 | 26 { |
pascal@13600 | 27 cp -a $install/* $fs |
pascal@13600 | 28 rm -rf $fs/usr/share |
pascal@13600 | 29 mv $fs/etc/pdnsd.conf.sample $fs/etc/pdnsd.conf |
pascal@13600 | 30 } |