wok-6.x view bind/receipt @ rev 15885
pppd: add /etc/ppp/ip-up.d & /etc/ppp/ip-down.d
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 08 13:29:05 2014 +0000 (2014-02-08) |
parents | 6c3718ca17b6 |
children | 04fd2696b43a |
line source
1 # SliTaz package receipt.
3 PACKAGE="bind"
4 VERSION="9.9.4-P2"
5 CATEGORY="network"
6 SHORT_DESC="Domain Name System daemon."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="ISC"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.isc.org/products/BIND/"
11 WGET_URL="http://ftp.isc.org/isc/bind9/$VERSION/$TARBALL"
12 CONFIG_FILES="/etc/bind"
13 TAZPANEL_DAEMON="edit::/etc/bind/named.conf|man|options|web::$WEB_SITE"
14 TAGS="DNS daemon"
16 DEPENDS="libbind libcrypto attr openssl perl"
17 BUILD_DEPENDS="libtool libcap-dev openssl-dev perl"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 mkdir -p $DESTDIR/etc/bind
24 ./configure --prefix=/usr --infodir=/usr/share/info \
25 --sysconfdir=/etc/bind --localstatedir=/var --with-libtool \
26 --mandir=/usr/share/man --with-openssl $CONFIGURE_ARGS && \
27 make && make DESTDIR=$DESTDIR install && \
28 LD_LIBRARY_PATH=$DESTDIR/usr/lib \
29 $DESTDIR/usr/bin/dig ns . @a.root-servers.net. > $DESTDIR/etc/bind/db.root
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr $fs/var/cache/bind
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/etc $fs
38 cp -a $stuff/etc $fs
39 }