wok-6.x annotate nsd/receipt @ rev 24403

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