SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "bind"

# SliTaz package receipt.

PACKAGE="bind"
VERSION="9.8.4-P2"
CATEGORY="network"
SHORT_DESC="Domain Name System daemon."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.isc.org/products/BIND/"
WGET_URL="http://ftp.isc.org/isc/bind9/$VERSION/$TARBALL"
CONFIG_FILES="/etc/bind"
TAGS="DNS daemon"

DEPENDS="libbind libcrypto attr openssl perl"
BUILD_DEPENDS="libtool libcap-dev openssl-dev perl"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    mkdir -p $DESTDIR/etc/bind
    ./configure --prefix=/usr --infodir=/usr/share/info \
    --sysconfdir=/etc/bind --localstatedir=/var --with-libtool \
    --mandir=/usr/share/man --with-openssl $CONFIGURE_ARGS && \
    make && make DESTDIR=$DESTDIR install && \
    LD_LIBRARY_PATH=$DESTDIR/usr/lib \
    $DESTDIR/usr/bin/dig ns . @a.root-servers.net. > $DESTDIR/etc/bind/db.root
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr $fs/var/cache/bind
    cp -a $_pkg/usr/sbin $fs/usr
    cp -a $_pkg/etc $fs
    cp -a $stuff/etc $fs
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)