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