wok-current view bind/receipt @ rev 11116

Up: pangomm to 2.28.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 26 19:28:46 2011 +0000 (2011-10-26)
parents 014d2f66f6d8
children 379bfee924ae
line source
1 # SliTaz package receipt.
3 PACKAGE="bind"
4 VERSION="9.8.1"
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 WGET_URL="http://ftp.isc.org/isc/bind9/$VERSION/$TARBALL"
11 CONFIG_FILES="/etc/bind"
12 TAGS="DNS daemon"
14 DEPENDS="libbind libcrypto attr openssl perl"
15 BUILD_DEPENDS="libtool libcap-dev openssl-dev perl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 mkdir -p $DESTDIR/etc/bind
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --sysconfdir=/etc/bind --localstatedir=/var --with-libtool \
24 --mandir=/usr/share/man --with-openssl $CONFIGURE_ARGS && \
25 make && make DESTDIR=$DESTDIR install && \
26 LD_LIBRARY_PATH=$DESTDIR/usr/lib \
27 $DESTDIR/usr/bin/dig ns . @a.root-servers.net. > $DESTDIR/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 }