wok view knot-dns/receipt @ rev 22407

Add knot-dns (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 10 16:56:23 2019 +0100 (2019-12-10)
parents 20d32321cac5
children 910444aeff24
line source
1 # SliTaz package receipt.
3 PACKAGE="knot-dns"
4 SOURCE=""knot
5 VERSION="2.9.1"
6 CATEGORY="network"
7 SHORT_DESC="High-performance authoritative DNS server"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="https://www.knot-dns.cz/"
12 WGET_URL="https://secure.nic.cz/files/knot-dns/$TARBALL"
13 TAGS="dns"
15 DEPENDS="gnutls liburcu libedit"
16 BUILD_DEPENDS="libgnutls gnutls-dev liburcu-dev libedit-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure --prefix=/usr \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/etc $fs/
35 cp -a $install/var $fs/
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/sbin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }