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