
Receipt for package "knot"
# SliTaz package receipt. PACKAGE="knot" VERSION="2.9.2" CATEGORY="network" SHORT_DESC="High-performance authoritative-only DNS server." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" WEB_SITE="https://www.knot-dns.cz/" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://secure.nic.cz/files/knot-dns/$TARBALL" DEPENDS="gnutls libedit liburcu nettle" BUILD_DEPENDS="gnutls-dev nettle-dev libedit-dev libgnutls liburcu-dev" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { # 2.9.2 no longer applicable # sed -i 's|__sync_fetch_and_|// &|' src/knot/nameserver/query_module.c # FIXME ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/etc $fs cp -a $install/var $fs cp -a $install/usr/lib/*.so* $fs/usr/lib }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)