wok-next view bind/receipt @ rev 15362

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 02 13:07:29 2013 +0000 (2013-10-02)
parents 1fe477eb5758
children 6c3718ca17b6
line source
1 # SliTaz package receipt.
3 PACKAGE="bind"
4 VERSION="9.9.2-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 WGET_URL="http://ftp.isc.org/isc/bind9/$VERSION/$TARBALL"
11 CONFIG_FILES="/etc/bind"
12 TAZPANEL_DAEMON="edit::/etc/bind/named.conf|man|options|web::$WEB_SITE"
13 TAGS="DNS daemon"
15 DEPENDS="libbind libcrypto attr openssl perl"
16 BUILD_DEPENDS="libtool libcap-dev openssl-dev perl"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 mkdir -p $DESTDIR/etc/bind
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --sysconfdir=/etc/bind --localstatedir=/var --with-libtool \
25 --mandir=/usr/share/man --with-openssl $CONFIGURE_ARGS && \
26 make && make DESTDIR=$DESTDIR install && \
27 LD_LIBRARY_PATH=$DESTDIR/usr/lib \
28 $DESTDIR/usr/bin/dig ns . @a.root-servers.net. > $DESTDIR/etc/bind/db.root
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr $fs/var/cache/bind
35 cp -a $install/usr/sbin $fs/usr
36 cp -a $install/etc $fs
37 cp -a $stuff/etc $fs
38 }