wok view knot-dns/receipt @ rev 25282
updated rlwrap (0.43 -> 0.45.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 15:29:34 2022 +0100 (2022-07-18) |
parents | 910444aeff24 |
children |
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure --prefix=/usr \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/etc $fs/
43 cp -a $install/var $fs/
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/sbin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 }