wok annotate bind/receipt @ rev 7014

Up: xorg-util-macros to 1.11.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 31 13:34:53 2010 +0000 (2010-10-31)
parents b29c8c2da6bb
children 022f83b2b194
rev   line source
pascal@1612 1 # SliTaz package receipt.
pascal@1612 2
pascal@1612 3 PACKAGE="bind"
slaxemulator@6352 4 VERSION="9.7.1-P2"
pascal@1612 5 CATEGORY="network"
pascal@1612 6 SHORT_DESC="Domain Name System daemon."
pascal@1612 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1612 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1612 9 WEB_SITE="http://www.isc.org/products/BIND/"
slaxemulator@6352 10 DEPENDS="libbind libcrypto attr openssl perl"
slaxemulator@6352 11 BUILD_DEPENDS="libtool libcap-dev openssl-dev perl"
pascal@1612 12 WGET_URL="http://ftp.isc.org/isc/bind9/$VERSION/$TARBALL"
pascal@1612 13 CONFIG_FILES="/etc/bind"
jozee@4932 14 TAGS="DNS daemon"
pascal@1612 15
pascal@1612 16 # Rules to configure and make the package.
pascal@1612 17 compile_rules()
pascal@1612 18 {
pascal@1612 19 cd $src
pascal@1612 20 mkdir -p _pkg/etc/bind
pascal@1612 21 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1612 22 --sysconfdir=/etc/bind --localstatedir=/var --with-libtool \
slaxemulator@6352 23 --mandir=/usr/share/man --with-openssl $CONFIGURE_ARGS && \
pascal@1612 24 make && make DESTDIR=$PWD/_pkg install && \
pascal@1612 25 LD_LIBRARY_PATH=$src/_pkg/usr/lib \
pascal@1612 26 _pkg/usr/bin/dig ns . @a.root-servers.net. > _pkg/etc/bind/db.root
pascal@1612 27 }
pascal@1612 28
pascal@1612 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1612 30 genpkg_rules()
pascal@1612 31 {
pascal@1612 32 mkdir -p $fs/usr $fs/var/cache/bind
pascal@1612 33 cp -a $_pkg/usr/sbin $fs/usr
pascal@1612 34 cp -a $_pkg/etc $fs
pascal@1612 35 cp -a stuff/etc $fs
pascal@1612 36 # Package all bind pkgs
pascal@1612 37 for i in libbind $(cd $WOK; ls -d bind-*)
pascal@1612 38 do
pascal@1612 39 tazwok genpkg $i
pascal@1612 40 done
pascal@1612 41 }
pascal@1612 42