wok rev 19989

Add knot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 02 18:38:44 2017 +0200 (2 months ago)
parents c0b0ef66eb80
children 089e31a4281c
files knot-dev/receipt knot/receipt liburcu-dev/receipt liburcu/receipt zstd/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/knot-dev/receipt	Sun Jul 02 18:38:44 2017 +0200
     1.3 @@ -0,0 +1,21 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="knot-dev"
     1.7 +VERSION="2.5.2"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="High-performance authoritative-only DNS server, development files."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="https://www.knot-dns.cz/"
    1.13 +WANTED="knot"
    1.14 +
    1.15 +DEPENDS="knot pkg-config"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr/lib
    1.21 +	cp -a $install/usr/lib/*a $fs/usr/lib
    1.22 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.23 +	cp -a $install/usr/include $fs/usr
    1.24 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/knot/receipt	Sun Jul 02 18:38:44 2017 +0200
     2.3 @@ -0,0 +1,36 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="knot"
     2.7 +VERSION="2.5.2"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="High-performance authoritative-only DNS server."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="GPL3"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.13 +WEB_SITE="https://www.knot-dns.cz/"
    2.14 +WGET_URL="https://secure.nic.cz/files/knot-dns/$TARBALL"
    2.15 +
    2.16 +DEPENDS="gnutls nettle liburcu libedit"
    2.17 +BUILD_DEPENDS="gnutls-dev nettle-dev liburcu-dev libedit-dev"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	sed -i 's|__sync_fetch_and_|// &|' src/knot/nameserver/query_module.c	# FIXME
    2.23 +	./configure \
    2.24 +		--prefix=/usr \
    2.25 +		--sysconfdir=/etc \
    2.26 +		--localstatedir=/var \
    2.27 +		$CONFIGURE_ARGS
    2.28 +	make &&
    2.29 +	make DESTDIR=$DESTDIR install
    2.30 +}
    2.31 +
    2.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.33 +genpkg_rules()
    2.34 +{
    2.35 +	mkdir -p $fs/usr/lib
    2.36 +	cp -a $install/etc $fs
    2.37 +	cp -a $install/var $fs
    2.38 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.39 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/liburcu-dev/receipt	Sun Jul 02 18:38:44 2017 +0200
     3.3 @@ -0,0 +1,20 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="liburcu-dev"
     3.7 +VERSION="0.10.0"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="Userspace RCU (read-copy-update) library, development files."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="LGPL2.1"
    3.12 +WEB_SITE="http://liburcu.org/"
    3.13 +WANTED="liburcu"
    3.14 +
    3.15 +DEPENDS="liburcu pkg-config"
    3.16 +
    3.17 +genpkg_rules()
    3.18 +{
    3.19 +	mkdir -p $fs/usr/lib
    3.20 +	cp -a $install/usr/lib/*a $fs/usr/lib
    3.21 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    3.22 +	cp -a $install/usr/include $fs/usr
    3.23 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/liburcu/receipt	Sun Jul 02 18:38:44 2017 +0200
     4.3 @@ -0,0 +1,29 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="liburcu"
     4.7 +SOURCE="userspace-rcu"
     4.8 +VERSION="0.10.0"
     4.9 +CATEGORY="system-tools"
    4.10 +SHORT_DESC="Userspace RCU (read-copy-update) library."
    4.11 +MAINTAINER="pascal.bellard@slitaz.org"
    4.12 +LICENSE="LGPL2.1"
    4.13 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    4.14 +WEB_SITE="http://liburcu.org/"
    4.15 +WGET_URL="http://www.lttng.org/files/urcu/$TARBALL"
    4.16 +
    4.17 +# Rules to configure and make the package.
    4.18 +compile_rules()
    4.19 +{
    4.20 +	./configure \
    4.21 +		--prefix=/usr \
    4.22 +		$CONFIGURE_ARGS
    4.23 +	make &&
    4.24 +	make DESTDIR=$DESTDIR install
    4.25 +}
    4.26 +
    4.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.28 +genpkg_rules()
    4.29 +{
    4.30 +	mkdir -p $fs/usr/lib
    4.31 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.32 +}
     5.1 --- a/zstd/receipt	Sat Jul 01 18:33:33 2017 +0200
     5.2 +++ b/zstd/receipt	Sun Jul 02 18:38:44 2017 +0200
     5.3 @@ -25,7 +25,8 @@
     5.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     5.5  genpkg_rules()
     5.6  {
     5.7 -	mkdir -p $fs/usr/lib
     5.8 +	mkdir -p $fs/usr/lib $fs/usr/share
     5.9  	cp -a $install/usr/bin $fs/usr
    5.10  	cp -a $install/usr/lib/*.so* $fs/usr/lib/
    5.11 +	cp -a $src/doc $fs/usr/share
    5.12  }