wok annotate bind/receipt @ rev 3988
Openmotif: cleanup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 29 17:09:15 2009 +0200 (2009-08-29) |
parents | 6fe507faed17 |
children | 909ca4e6292d |
rev | line source |
---|---|
pascal@1612 | 1 # SliTaz package receipt. |
pascal@1612 | 2 |
pascal@1612 | 3 PACKAGE="bind" |
pascal@2596 | 4 VERSION="9.5.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/" |
pascal@2490 | 10 DEPENDS="libbind libcrypto" |
pascal@1612 | 11 BUILD_DEPENDS="libtool" |
pascal@1612 | 12 WGET_URL="http://ftp.isc.org/isc/bind9/$VERSION/$TARBALL" |
pascal@1612 | 13 CONFIG_FILES="/etc/bind" |
pascal@1612 | 14 |
pascal@1612 | 15 # Rules to configure and make the package. |
pascal@1612 | 16 compile_rules() |
pascal@1612 | 17 { |
pascal@1612 | 18 cd $src |
pascal@1612 | 19 mkdir -p _pkg/etc/bind |
pascal@1612 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1612 | 21 --sysconfdir=/etc/bind --localstatedir=/var --with-libtool \ |
pascal@1612 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
pascal@1612 | 23 make && make DESTDIR=$PWD/_pkg install && \ |
pascal@1612 | 24 LD_LIBRARY_PATH=$src/_pkg/usr/lib \ |
pascal@1612 | 25 _pkg/usr/bin/dig ns . @a.root-servers.net. > _pkg/etc/bind/db.root |
pascal@1612 | 26 } |
pascal@1612 | 27 |
pascal@1612 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1612 | 29 genpkg_rules() |
pascal@1612 | 30 { |
pascal@1612 | 31 mkdir -p $fs/usr $fs/var/cache/bind |
pascal@1612 | 32 cp -a $_pkg/usr/sbin $fs/usr |
pascal@1612 | 33 cp -a $_pkg/etc $fs |
pascal@1612 | 34 cp -a stuff/etc $fs |
pascal@1612 | 35 # Package all bind pkgs |
pascal@1612 | 36 for i in libbind $(cd $WOK; ls -d bind-*) |
pascal@1612 | 37 do |
pascal@1612 | 38 tazwok genpkg $i |
pascal@1612 | 39 done |
pascal@1612 | 40 } |
pascal@1612 | 41 |