wok-6.x view bind/receipt @ rev 2245
squirrelmail plugins: add post_remove
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 15 20:40:24 2009 +0000 (2009-02-15) |
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 }