# HG changeset patch # User Pascal Bellard # Date 1393187602 0 # Node ID 6b5eae3702e6cf0b8b9ad6b988cb84c6fc54c5a2 # Parent f08981ebc59f5ffd4c82e4c0b9bbd7a5bffe137c Add nsd diff -r f08981ebc59f -r 6b5eae3702e6 nsd/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nsd/receipt Sun Feb 23 20:33:22 2014 +0000 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="nsd" +VERSION="4.0.1" +CATEGORY="network" +SHORT_DESC="An authoritative only, high performance, and simple name server." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +LICENSE="other" +WEB_SITE="http://www.nlnetlabs.nl/projects/nsd/" +WGET_URL="http://www.nlnetlabs.nl/downloads/nsd/$TARBALL" +CONFIG_FILES="/etc/nsd" + +DEPENDS="libssl libcrypto" +BUILD_DEPENDS="libevent-dev openssl-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/sbin $fs/usr + cp -a $install/var $fs + cp -a $install/etc $fs +}