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

syslinux: Boot message with 2.0
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 16 19:47:39 2009 +0200 (2009-04-16)
parents 6fe507faed17
children 909ca4e6292d
line source
1 # SliTaz package receipt.
3 PACKAGE="bind"
4 VERSION="9.5.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"
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 }