wok-current view bind/receipt @ rev 12546

Up: libtool and make ntop build a bit more :-/ (busybox install bug now)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 26 14:13:34 2012 +0200 (2012-04-26)
parents 379bfee924ae
children 1fe477eb5758
line source
1 # SliTaz package receipt.
3 PACKAGE="bind"
4 VERSION="9.9.0"
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 }