wok-current view knot-dns/receipt @ rev 23948

Add barrage & penguin-command (thanks rerievo)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 20 16:26:50 2020 +0000 (2020-09-20)
parents 0f90bab87178
children 453c249b6219
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 CONFIG_FILES="/etc/knot"
14 TAGS="dns"
16 DEPENDS="gnutls liburcu libedit"
17 BUILD_DEPENDS="libgnutls gnutls-dev liburcu-dev libedit-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure --prefix=/usr \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/etc $fs/
36 cp -a $install/var $fs/
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/sbin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }