# HG changeset patch # User Pascal Bellard # Date 1499013524 -7200 # Node ID 5ffe5c4c78fd0e940fc9e6c20c10843906648a80 # Parent c0b0ef66eb800cf227d52339bb1c45111cb11ff9 Add knot diff -r c0b0ef66eb80 -r 5ffe5c4c78fd knot-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/knot-dev/receipt Sun Jul 02 18:38:44 2017 +0200 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="knot-dev" +VERSION="2.5.2" +CATEGORY="development" +SHORT_DESC="High-performance authoritative-only DNS server, development files." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL3" +WEB_SITE="https://www.knot-dns.cz/" +WANTED="knot" + +DEPENDS="knot pkg-config" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr +} diff -r c0b0ef66eb80 -r 5ffe5c4c78fd knot/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/knot/receipt Sun Jul 02 18:38:44 2017 +0200 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="knot" +VERSION="2.5.2" +CATEGORY="network" +SHORT_DESC="High-performance authoritative-only DNS server." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL3" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WEB_SITE="https://www.knot-dns.cz/" +WGET_URL="https://secure.nic.cz/files/knot-dns/$TARBALL" + +DEPENDS="gnutls nettle liburcu libedit" +BUILD_DEPENDS="gnutls-dev nettle-dev liburcu-dev libedit-dev" + +# Rules to configure and make the package. +compile_rules() +{ + 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 +} diff -r c0b0ef66eb80 -r 5ffe5c4c78fd liburcu-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/liburcu-dev/receipt Sun Jul 02 18:38:44 2017 +0200 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="liburcu-dev" +VERSION="0.10.0" +CATEGORY="development" +SHORT_DESC="Userspace RCU (read-copy-update) library, development files." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="LGPL2.1" +WEB_SITE="http://liburcu.org/" +WANTED="liburcu" + +DEPENDS="liburcu pkg-config" + +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr +} diff -r c0b0ef66eb80 -r 5ffe5c4c78fd liburcu/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/liburcu/receipt Sun Jul 02 18:38:44 2017 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="liburcu" +SOURCE="userspace-rcu" +VERSION="0.10.0" +CATEGORY="system-tools" +SHORT_DESC="Userspace RCU (read-copy-update) library." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="LGPL2.1" +TARBALL="$SOURCE-$VERSION.tar.bz2" +WEB_SITE="http://liburcu.org/" +WGET_URL="http://www.lttng.org/files/urcu/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure \ + --prefix=/usr \ + $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/usr/lib/*.so* $fs/usr/lib +} diff -r c0b0ef66eb80 -r 5ffe5c4c78fd zstd/receipt --- a/zstd/receipt Sat Jul 01 18:33:33 2017 +0200 +++ b/zstd/receipt Sun Jul 02 18:38:44 2017 +0200 @@ -25,7 +25,8 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib + mkdir -p $fs/usr/lib $fs/usr/share cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib/ + cp -a $src/doc $fs/usr/share }