wok-current rev 15958
Add nsd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 23 20:33:22 2014 +0000 (2014-02-23) |
parents | f08981ebc59f |
children | a542c91dcb2f |
files | nsd/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/nsd/receipt Sun Feb 23 20:33:22 2014 +0000 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="nsd" 1.7 +VERSION="4.0.1" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="An authoritative only, high performance, and simple name server." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +LICENSE="other" 1.13 +WEB_SITE="http://www.nlnetlabs.nl/projects/nsd/" 1.14 +WGET_URL="http://www.nlnetlabs.nl/downloads/nsd/$TARBALL" 1.15 +CONFIG_FILES="/etc/nsd" 1.16 + 1.17 +DEPENDS="libssl libcrypto" 1.18 +BUILD_DEPENDS="libevent-dev openssl-dev" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + ./configure --prefix=/usr \ 1.24 + --sysconfdir=/etc \ 1.25 + --localstatedir=/var \ 1.26 + $CONFIGURE_ARGS && 1.27 + make && 1.28 + make DESTDIR=$DESTDIR install 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr 1.35 + cp -a $install/usr/sbin $fs/usr 1.36 + cp -a $install/var $fs 1.37 + cp -a $install/etc $fs 1.38 +}