wok-6.x annotate bind/receipt @ rev 14772
Add some TAZPANEL_DAEMON
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 30 09:55:32 2013 +0200 (2013-06-30) |
parents | 1fe477eb5758 |
children | 6c3718ca17b6 |
rev | line source |
---|---|
pascal@1612 | 1 # SliTaz package receipt. |
pascal@1612 | 2 |
pascal@1612 | 3 PACKAGE="bind" |
pascal@14489 | 4 VERSION="9.9.2-P2" |
pascal@1612 | 5 CATEGORY="network" |
pascal@1612 | 6 SHORT_DESC="Domain Name System daemon." |
pascal@1612 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1612 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1612 | 9 WEB_SITE="http://www.isc.org/products/BIND/" |
pascal@1612 | 10 WGET_URL="http://ftp.isc.org/isc/bind9/$VERSION/$TARBALL" |
pascal@1612 | 11 CONFIG_FILES="/etc/bind" |
pascal@14772 | 12 TAZPANEL_DAEMON="edit::/etc/bind/named.conf|man|options|web::$WEB_SITE" |
jozee@4932 | 13 TAGS="DNS daemon" |
pascal@1612 | 14 |
slaxemulator@10709 | 15 DEPENDS="libbind libcrypto attr openssl perl" |
slaxemulator@10709 | 16 BUILD_DEPENDS="libtool libcap-dev openssl-dev perl" |
slaxemulator@10709 | 17 |
pascal@1612 | 18 # Rules to configure and make the package. |
pascal@1612 | 19 compile_rules() |
pascal@1612 | 20 { |
pascal@1612 | 21 cd $src |
slaxemulator@10136 | 22 mkdir -p $DESTDIR/etc/bind |
pascal@1612 | 23 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1612 | 24 --sysconfdir=/etc/bind --localstatedir=/var --with-libtool \ |
slaxemulator@6352 | 25 --mandir=/usr/share/man --with-openssl $CONFIGURE_ARGS && \ |
slaxemulator@10136 | 26 make && make DESTDIR=$DESTDIR install && \ |
slaxemulator@10136 | 27 LD_LIBRARY_PATH=$DESTDIR/usr/lib \ |
slaxemulator@10136 | 28 $DESTDIR/usr/bin/dig ns . @a.root-servers.net. > $DESTDIR/etc/bind/db.root |
pascal@1612 | 29 } |
pascal@1612 | 30 |
pascal@1612 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1612 | 32 genpkg_rules() |
pascal@1612 | 33 { |
pascal@1612 | 34 mkdir -p $fs/usr $fs/var/cache/bind |
pascal@14489 | 35 cp -a $install/usr/sbin $fs/usr |
pascal@14489 | 36 cp -a $install/etc $fs |
pankso@9697 | 37 cp -a $stuff/etc $fs |
pascal@1612 | 38 } |
pascal@1612 | 39 |