wok-6.x view bind/receipt @ rev 2584

gobby, menu-cache-dev, net6, obby: typo in category
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 07 14:20:40 2009 +0000 (2009-04-07)
parents 43ae0b5f0a8a
children d5836ce97e2b
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 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 }