wok-current annotate knot/receipt @ rev 22482

updated antimicro (1.0 -> 2.23)
author Hans-G?nter Theisgen
date Mon Dec 30 15:31:22 2019 +0100 (2019-12-30)
parents 5ffe5c4c78fd
children 4dc397f1cd33
rev   line source
pascal@19989 1 # SliTaz package receipt.
pascal@19989 2
pascal@19989 3 PACKAGE="knot"
pascal@19989 4 VERSION="2.5.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"
pascal@19989 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@19989 10 WEB_SITE="https://www.knot-dns.cz/"
pascal@19989 11 WGET_URL="https://secure.nic.cz/files/knot-dns/$TARBALL"
pascal@19989 12
pascal@19989 13 DEPENDS="gnutls nettle liburcu libedit"
pascal@20569 14 BUILD_DEPENDS="gnutls-dev libgnutls nettle-dev liburcu-dev libedit-dev"
pascal@19989 15
pascal@19989 16 # Rules to configure and make the package.
pascal@19989 17 compile_rules()
pascal@19989 18 {
pascal@19989 19 sed -i 's|__sync_fetch_and_|// &|' src/knot/nameserver/query_module.c # FIXME
pascal@19989 20 ./configure \
pascal@19989 21 --prefix=/usr \
pascal@19989 22 --sysconfdir=/etc \
pascal@19989 23 --localstatedir=/var \
pascal@19989 24 $CONFIGURE_ARGS
pascal@19989 25 make &&
pascal@19989 26 make DESTDIR=$DESTDIR install
pascal@19989 27 }
pascal@19989 28
pascal@19989 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19989 30 genpkg_rules()
pascal@19989 31 {
pascal@19989 32 mkdir -p $fs/usr/lib
pascal@19989 33 cp -a $install/etc $fs
pascal@19989 34 cp -a $install/var $fs
pascal@19989 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@19989 36 }