wok-current view bind/receipt @ rev 4794
krb5: Add file list for libcommerr3 and libkrb5support.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Jan 16 23:33:06 2010 +0100 (2010-01-16) |
parents | 909ca4e6292d |
children | 4273e906522b |
line source
1 # SliTaz package receipt.
3 PACKED_SIZE="8.0k"
4 UNPACKED_SIZE="4.0k"
5 PACKAGE="bind"
6 VERSION="9.6.1-P2"
7 CATEGORY="network"
8 SHORT_DESC="Domain Name System daemon."
9 MAINTAINER="pascal.bellard@slitaz.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.isc.org/products/BIND/"
12 DEPENDS="libbind libcrypto"
13 BUILD_DEPENDS="libtool libcap-dev"
14 WGET_URL="http://ftp.isc.org/isc/bind9/$VERSION/$TARBALL"
15 CONFIG_FILES="/etc/bind"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 mkdir -p _pkg/etc/bind
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --sysconfdir=/etc/bind --localstatedir=/var --with-libtool \
24 --mandir=/usr/share/man $CONFIGURE_ARGS && \
25 make && make DESTDIR=$PWD/_pkg install && \
26 LD_LIBRARY_PATH=$src/_pkg/usr/lib \
27 _pkg/usr/bin/dig ns . @a.root-servers.net. > _pkg/etc/bind/db.root
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr $fs/var/cache/bind
34 cp -a $_pkg/usr/sbin $fs/usr
35 cp -a $_pkg/etc $fs
36 cp -a stuff/etc $fs
37 # Package all bind pkgs
38 for i in libbind $(cd $WOK; ls -d bind-*)
39 do
40 tazwok genpkg $i
41 done
42 }