wok-4.x view bind/receipt @ rev 6628

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