wok-6.x annotate nsd/receipt @ rev 25343
updated sysstat (12.3.2 -> 12.6.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 25 07:23:20 2022 +0100 (2022-07-25) |
parents | 36ec463f0113 |
children |
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@24453 | 19 # What is the latest version available today? |
pascal@24453 | 20 current_version() |
pascal@24453 | 21 { |
pascal@24453 | 22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24453 | 23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24453 | 24 } |
pascal@24453 | 25 |
pascal@15958 | 26 # Rules to configure and make the package. |
pascal@15958 | 27 compile_rules() |
pascal@15958 | 28 { |
Hans-G?nter@21552 | 29 ./configure \ |
Hans-G?nter@21552 | 30 --prefix=/usr \ |
Hans-G?nter@21552 | 31 --sysconfdir=/etc \ |
Hans-G?nter@21552 | 32 --localstatedir=/var \ |
pascal@15958 | 33 $CONFIGURE_ARGS && |
pascal@15958 | 34 make && |
pascal@15958 | 35 make DESTDIR=$DESTDIR install |
pascal@15958 | 36 } |
pascal@15958 | 37 |
pascal@15958 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15958 | 39 genpkg_rules() |
pascal@15958 | 40 { |
pascal@15958 | 41 mkdir -p $fs/usr |
Hans-G?nter@21552 | 42 |
Hans-G?nter@21552 | 43 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@21552 | 44 cp -a $install/var $fs |
Hans-G?nter@21552 | 45 cp -a $install/etc $fs |
pascal@15958 | 46 } |