wok-current view bind/receipt @ rev 4689

dmraid: fix maintainer email.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Dec 30 23:48:03 2009 +0100 (2009-12-30)
parents d5836ce97e2b
children 6adb5df60608
line source
1 # SliTaz package receipt.
3 PACKAGE="bind"
4 VERSION="9.5.2"
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 libcap-dev"
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 }