wok annotate bind/receipt @ rev 4777

Up: bind*, libbind (9.6.1-P2)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jan 13 14:55:32 2010 +0100 (2010-01-13)
parents 909ca4e6292d
children 4273e906522b
rev   line source
pascal@1612 1 # SliTaz package receipt.
pascal@1612 2
erjo@4777 3 PACKED_SIZE="8.0k"
erjo@4777 4 UNPACKED_SIZE="4.0k"
pascal@1612 5 PACKAGE="bind"
erjo@4777 6 VERSION="9.6.1-P2"
pascal@1612 7 CATEGORY="network"
pascal@1612 8 SHORT_DESC="Domain Name System daemon."
pascal@1612 9 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1612 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1612 11 WEB_SITE="http://www.isc.org/products/BIND/"
pascal@2490 12 DEPENDS="libbind libcrypto"
erjo@4385 13 BUILD_DEPENDS="libtool libcap-dev"
pascal@1612 14 WGET_URL="http://ftp.isc.org/isc/bind9/$VERSION/$TARBALL"
pascal@1612 15 CONFIG_FILES="/etc/bind"
pascal@1612 16
pascal@1612 17 # Rules to configure and make the package.
pascal@1612 18 compile_rules()
pascal@1612 19 {
pascal@1612 20 cd $src
pascal@1612 21 mkdir -p _pkg/etc/bind
pascal@1612 22 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1612 23 --sysconfdir=/etc/bind --localstatedir=/var --with-libtool \
pascal@1612 24 --mandir=/usr/share/man $CONFIGURE_ARGS && \
pascal@1612 25 make && make DESTDIR=$PWD/_pkg install && \
pascal@1612 26 LD_LIBRARY_PATH=$src/_pkg/usr/lib \
pascal@1612 27 _pkg/usr/bin/dig ns . @a.root-servers.net. > _pkg/etc/bind/db.root
pascal@1612 28 }
pascal@1612 29
pascal@1612 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1612 31 genpkg_rules()
pascal@1612 32 {
pascal@1612 33 mkdir -p $fs/usr $fs/var/cache/bind
pascal@1612 34 cp -a $_pkg/usr/sbin $fs/usr
pascal@1612 35 cp -a $_pkg/etc $fs
pascal@1612 36 cp -a stuff/etc $fs
pascal@1612 37 # Package all bind pkgs
pascal@1612 38 for i in libbind $(cd $WOK; ls -d bind-*)
pascal@1612 39 do
pascal@1612 40 tazwok genpkg $i
pascal@1612 41 done
pascal@1612 42 }
pascal@1612 43