wok-6.x view knot/receipt @ rev 24511
updated eigen (3.3.7 -> 3.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 21 09:33:38 2022 +0100 (2022-02-21) |
parents | 4dc397f1cd33 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="knot"
4 VERSION="2.9.2"
5 CATEGORY="network"
6 SHORT_DESC="High-performance authoritative-only DNS server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.knot-dns.cz/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://secure.nic.cz/files/knot-dns/$TARBALL"
14 DEPENDS="gnutls libedit liburcu nettle"
15 BUILD_DEPENDS="gnutls-dev nettle-dev libedit-dev libgnutls liburcu-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # 2.9.2 no longer applicable
28 # sed -i 's|__sync_fetch_and_|// &|' src/knot/nameserver/query_module.c # FIXME
30 ./configure \
31 --prefix=/usr \
32 --sysconfdir=/etc \
33 --localstatedir=/var \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
44 cp -a $install/etc $fs
45 cp -a $install/var $fs
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 }