wok-current rev 22989

updated knot and knot-dev (2.5.2 -> 2.9.2)
author Hans-G?nter Theisgen
date Sun Mar 01 17:01:17 2020 +0100 (2020-03-01)
parents 166df6b2da67
children 5e70242061ce
files knot-dev/receipt knot/receipt
line diff
     1.1 --- a/knot-dev/receipt	Sun Mar 01 16:28:54 2020 +0100
     1.2 +++ b/knot-dev/receipt	Sun Mar 01 17:01:17 2020 +0100
     1.3 @@ -1,21 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="knot-dev"
     1.7 -VERSION="2.5.2"
     1.8 +VERSION="2.9.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="High-performance authoritative-only DNS server, development files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13  WEB_SITE="https://www.knot-dns.cz/"
    1.14 -WANTED="knot"
    1.15  
    1.16  DEPENDS="knot pkg-config"
    1.17 +WANTED="knot"
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22  	mkdir -p $fs/usr/lib
    1.23 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.24 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 +
    1.27 +	cp -a $install/usr/lib/*a		$fs/usr/lib
    1.28 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.29 +	cp -a $install/usr/include		$fs/usr
    1.30  }
     2.1 --- a/knot/receipt	Sun Mar 01 16:28:54 2020 +0100
     2.2 +++ b/knot/receipt	Sun Mar 01 17:01:17 2020 +0100
     2.3 @@ -1,27 +1,30 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="knot"
     2.7 -VERSION="2.5.2"
     2.8 +VERSION="2.9.2"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="High-performance authoritative-only DNS server."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="GPL3"
    2.13 +WEB_SITE="https://www.knot-dns.cz/"
    2.14 +
    2.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.16 -WEB_SITE="https://www.knot-dns.cz/"
    2.17  WGET_URL="https://secure.nic.cz/files/knot-dns/$TARBALL"
    2.18  
    2.19 -DEPENDS="gnutls nettle liburcu libedit"
    2.20 -BUILD_DEPENDS="gnutls-dev libgnutls nettle-dev liburcu-dev libedit-dev"
    2.21 +DEPENDS="gnutls libedit liburcu nettle"
    2.22 +BUILD_DEPENDS="gnutls-dev nettle-dev libedit-dev libgnutls liburcu-dev"
    2.23  
    2.24  # Rules to configure and make the package.
    2.25  compile_rules()
    2.26  {
    2.27 -	sed -i 's|__sync_fetch_and_|// &|' src/knot/nameserver/query_module.c	# FIXME
    2.28 -	./configure \
    2.29 -		--prefix=/usr \
    2.30 -		--sysconfdir=/etc \
    2.31 -		--localstatedir=/var \
    2.32 -		$CONFIGURE_ARGS
    2.33 +	# 2.9.2 no longer applicable
    2.34 +#	sed -i 's|__sync_fetch_and_|// &|' src/knot/nameserver/query_module.c	# FIXME
    2.35 +
    2.36 +	./configure			\
    2.37 +		--prefix=/usr		\
    2.38 +		--sysconfdir=/etc	\
    2.39 +		--localstatedir=/var	\
    2.40 +		$CONFIGURE_ARGS &&
    2.41  	make &&
    2.42  	make DESTDIR=$DESTDIR install
    2.43  }
    2.44 @@ -30,7 +33,8 @@
    2.45  genpkg_rules()
    2.46  {
    2.47  	mkdir -p $fs/usr/lib
    2.48 -	cp -a $install/etc $fs
    2.49 -	cp -a $install/var $fs
    2.50 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.51 +
    2.52 +	cp -a $install/etc		$fs
    2.53 +	cp -a $install/var		$fs
    2.54 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.55  }