wok-current view bind/receipt @ rev 14680
ethumb-dev: Up to 1.7.7
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Jun 06 22:08:57 2013 +0200 (2013-06-06) |
parents | 641d98dacf82 |
children | e9130cce9043 |
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 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 $install/usr/sbin $fs/usr
35 cp -a $install/etc $fs
36 cp -a $stuff/etc $fs
37 }