wok-6.x view nsd/receipt @ rev 24071

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 07 10:35:01 2021 +0000 (2021-07-07)
parents 711632e87540
children 241fb98cab1c
line source
1 # SliTaz package receipt.
3 PACKAGE="nsd"
4 VERSION="4.3.0"
5 CATEGORY="network"
6 SHORT_DESC="An authoritative only, high performance, and simple name server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.nlnetlabs.nl/projects/nsd/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://www.nlnetlabs.nl/downloads/$PACKAGE/$TARBALL"
14 DEPENDS="libcrypto libssl"
15 BUILD_DEPENDS="libevent-dev openssl-dev"
17 CONFIG_FILES="/etc/nsd"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/var $fs
38 cp -a $install/etc $fs
39 }