wok-current view knot/receipt @ rev 21582
Use python-setuptools as bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:45:04 2019 +0200 (2019-05-19) |
parents | 5ffe5c4c78fd |
children | 4dc397f1cd33 |
line source
1 # SliTaz package receipt.
3 PACKAGE="knot"
4 VERSION="2.5.2"
5 CATEGORY="network"
6 SHORT_DESC="High-performance authoritative-only DNS server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://www.knot-dns.cz/"
11 WGET_URL="https://secure.nic.cz/files/knot-dns/$TARBALL"
13 DEPENDS="gnutls nettle liburcu libedit"
14 BUILD_DEPENDS="gnutls-dev libgnutls nettle-dev liburcu-dev libedit-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|__sync_fetch_and_|// &|' src/knot/nameserver/query_module.c # FIXME
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/etc $fs
34 cp -a $install/var $fs
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }