wok-current view bind/receipt @ rev 1819

Add: dzen2
author Mallory MOLLO <mallory@sweetpeople.org>
date Fri Dec 05 21:28:29 2008 +0100 (2008-12-05)
parents
children 6fe507faed17
line source
1 # SliTaz package receipt.
3 PACKAGE="bind"
4 VERSION="9.5.0-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"
11 BUILD_DEPENDS="libtool"
12 WGET_URL="http://ftp.isc.org/isc/bind9/$VERSION/$TARBALL"
13 CONFIG_FILES="/etc/bind"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mkdir -p _pkg/etc/bind
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --sysconfdir=/etc/bind --localstatedir=/var --with-libtool \
22 --mandir=/usr/share/man $CONFIGURE_ARGS && \
23 make && make DESTDIR=$PWD/_pkg install && \
24 LD_LIBRARY_PATH=$src/_pkg/usr/lib \
25 _pkg/usr/bin/dig ns . @a.root-servers.net. > _pkg/etc/bind/db.root
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr $fs/var/cache/bind
32 cp -a $_pkg/usr/sbin $fs/usr
33 cp -a $_pkg/etc $fs
34 cp -a stuff/etc $fs
35 # Package all bind pkgs
36 for i in libbind $(cd $WOK; ls -d bind-*)
37 do
38 tazwok genpkg $i
39 done
40 }