wok-current view knot/receipt @ rev 20427
linld: remove dead code
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 14 22:18:05 2018 +0200 (2018-08-14) |
parents | |
children | 3132d67b7e38 |
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 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 }