wok diff knot/receipt @ rev 20005

Up: PeaZip v6.0.0 to v6.4.1 :: Some dependencies satisfied.
author Leonardo Laporte <hackdorte@yandex.com>
date Tue Aug 01 12:26:53 2017 -0300 (2017-08-01)
parents
children 3132d67b7e38
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/knot/receipt	Tue Aug 01 12:26:53 2017 -0300
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="knot"
     1.7 +VERSION="2.5.2"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="High-performance authoritative-only DNS server."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.13 +WEB_SITE="https://www.knot-dns.cz/"
    1.14 +WGET_URL="https://secure.nic.cz/files/knot-dns/$TARBALL"
    1.15 +
    1.16 +DEPENDS="gnutls nettle liburcu libedit"
    1.17 +BUILD_DEPENDS="gnutls-dev nettle-dev liburcu-dev libedit-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	sed -i 's|__sync_fetch_and_|// &|' src/knot/nameserver/query_module.c	# FIXME
    1.23 +	./configure \
    1.24 +		--prefix=/usr \
    1.25 +		--sysconfdir=/etc \
    1.26 +		--localstatedir=/var \
    1.27 +		$CONFIGURE_ARGS
    1.28 +	make &&
    1.29 +	make DESTDIR=$DESTDIR install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr/lib
    1.36 +	cp -a $install/etc $fs
    1.37 +	cp -a $install/var $fs
    1.38 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.39 +}