wok-6.x annotate bind/receipt @ rev 10726

libtaz: Don't need to check /usr/bin/hg anymore. Best to get the tag 1.1.2 version. May need to delete the slitaz-dev-tools-1.1.2.tar.bz2 source on tank to make sure we have the tag version.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 20:44:37 2011 +0000 (2011-05-28)
parents 0c5896e5e91d
children 97780c765586
rev   line source
pascal@1612 1 # SliTaz package receipt.
pascal@1612 2
pascal@1612 3 PACKAGE="bind"
slaxemulator@10709 4 VERSION="9.8.0-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/"
pascal@1612 10 WGET_URL="http://ftp.isc.org/isc/bind9/$VERSION/$TARBALL"
pascal@1612 11 CONFIG_FILES="/etc/bind"
jozee@4932 12 TAGS="DNS daemon"
pascal@1612 13
slaxemulator@10709 14 DEPENDS="libbind libcrypto attr openssl perl"
slaxemulator@10709 15 BUILD_DEPENDS="libtool libcap-dev openssl-dev perl"
slaxemulator@10709 16
pascal@1612 17 # Rules to configure and make the package.
pascal@1612 18 compile_rules()
pascal@1612 19 {
pascal@1612 20 cd $src
slaxemulator@10136 21 mkdir -p $DESTDIR/etc/bind
pascal@1612 22 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1612 23 --sysconfdir=/etc/bind --localstatedir=/var --with-libtool \
slaxemulator@6352 24 --mandir=/usr/share/man --with-openssl $CONFIGURE_ARGS && \
slaxemulator@10136 25 make && make DESTDIR=$DESTDIR install && \
slaxemulator@10136 26 LD_LIBRARY_PATH=$DESTDIR/usr/lib \
slaxemulator@10136 27 $DESTDIR/usr/bin/dig ns . @a.root-servers.net. > $DESTDIR/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
pankso@9697 36 cp -a $stuff/etc $fs
pascal@1612 37 }
pascal@1612 38