wok annotate knot/receipt @ rev 24007

Up zstd (1.4.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 29 15:34:50 2021 +0000 (2021-01-29)
parents 3132d67b7e38
children 453c249b6219
rev   line source
pascal@19989 1 # SliTaz package receipt.
pascal@19989 2
pascal@19989 3 PACKAGE="knot"
Hans-G?nter@22989 4 VERSION="2.9.2"
pascal@19989 5 CATEGORY="network"
pascal@19989 6 SHORT_DESC="High-performance authoritative-only DNS server."
pascal@19989 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19989 8 LICENSE="GPL3"
Hans-G?nter@22989 9 WEB_SITE="https://www.knot-dns.cz/"
Hans-G?nter@22989 10
pascal@19989 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@19989 12 WGET_URL="https://secure.nic.cz/files/knot-dns/$TARBALL"
pascal@19989 13
Hans-G?nter@22989 14 DEPENDS="gnutls libedit liburcu nettle"
Hans-G?nter@22989 15 BUILD_DEPENDS="gnutls-dev nettle-dev libedit-dev libgnutls liburcu-dev"
pascal@19989 16
pascal@19989 17 # Rules to configure and make the package.
pascal@19989 18 compile_rules()
pascal@19989 19 {
Hans-G?nter@22989 20 # 2.9.2 no longer applicable
Hans-G?nter@22989 21 # sed -i 's|__sync_fetch_and_|// &|' src/knot/nameserver/query_module.c # FIXME
Hans-G?nter@22989 22
Hans-G?nter@22989 23 ./configure \
Hans-G?nter@22989 24 --prefix=/usr \
Hans-G?nter@22989 25 --sysconfdir=/etc \
Hans-G?nter@22989 26 --localstatedir=/var \
Hans-G?nter@22989 27 $CONFIGURE_ARGS &&
pascal@19989 28 make &&
pascal@19989 29 make DESTDIR=$DESTDIR install
pascal@19989 30 }
pascal@19989 31
pascal@19989 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19989 33 genpkg_rules()
pascal@19989 34 {
pascal@19989 35 mkdir -p $fs/usr/lib
Hans-G?nter@22989 36
Hans-G?nter@22989 37 cp -a $install/etc $fs
Hans-G?nter@22989 38 cp -a $install/var $fs
Hans-G?nter@22989 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@19989 40 }