wok view bind/receipt @ rev 11965

tazwok compat: add wget as libt4k_common bdep (https $WGET_URL)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 02 15:32:28 2012 +0100 (2012-03-02)
parents 97780c765586
children 641d98dacf82
line source
1 # SliTaz package receipt.
3 PACKAGE="bind"
4 VERSION="9.8.1-P1"
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 }