wok-current view bind/receipt @ rev 11363
Fix: add missing depend libgio to dbus-glib
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Dec 08 22:19:40 2011 +0100 (2011-12-08) |
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 }