wok-next diff bind/receipt @ rev 2306
lighttpd: backup config files
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 24 23:20:43 2009 +0100 (2009-02-24) |
parents | |
children | 6fe507faed17 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/bind/receipt Tue Feb 24 23:20:43 2009 +0100 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="bind" 1.7 +VERSION="9.5.0-P2" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Domain Name System daemon." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.isc.org/products/BIND/" 1.13 +DEPENDS="libbind" 1.14 +BUILD_DEPENDS="libtool" 1.15 +WGET_URL="http://ftp.isc.org/isc/bind9/$VERSION/$TARBALL" 1.16 +CONFIG_FILES="/etc/bind" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + mkdir -p _pkg/etc/bind 1.23 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.24 + --sysconfdir=/etc/bind --localstatedir=/var --with-libtool \ 1.25 + --mandir=/usr/share/man $CONFIGURE_ARGS && \ 1.26 + make && make DESTDIR=$PWD/_pkg install && \ 1.27 + LD_LIBRARY_PATH=$src/_pkg/usr/lib \ 1.28 + _pkg/usr/bin/dig ns . @a.root-servers.net. > _pkg/etc/bind/db.root 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr $fs/var/cache/bind 1.35 + cp -a $_pkg/usr/sbin $fs/usr 1.36 + cp -a $_pkg/etc $fs 1.37 + cp -a stuff/etc $fs 1.38 + # Package all bind pkgs 1.39 + for i in libbind $(cd $WOK; ls -d bind-*) 1.40 + do 1.41 + tazwok genpkg $i 1.42 + done 1.43 +} 1.44 +