wok diff knot-dns/receipt @ rev 22406

Add knot-dns
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 10 16:38:12 2019 +0100 (2019-12-10)
parents
children 0f90bab87178
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/knot-dns/receipt	Tue Dec 10 16:38:12 2019 +0100
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="knot-dns"
     1.7 +SOURCE=""knot
     1.8 +VERSION="2.9.1"
     1.9 +CATEGORY="network"
    1.10 +SHORT_DESC="High-performance authoritative DNS server"
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="GPL3"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.xz"
    1.14 +WEB_SITE="https://www.knot-dns.cz/"
    1.15 +WGET_URL="https://secure.nic.cz/files/knot-dns/$TARBALL"
    1.16 +TAGS="dns"
    1.17 +
    1.18 +DEPENDS="gnutls liburcu libedit"
    1.19 +BUILD_DEPENDS="gnutls-dev liburcu-dev libedit-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	./configure --prefix=/usr \
    1.25 +		--sysconfdir=/etc \
    1.26 +		--localstatedir=/var \
    1.27 +		--mandir=/usr/share/man \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make &&
    1.30 +	make DESTDIR=$DESTDIR install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/lib
    1.37 +	cp -a $install/etc $fs/
    1.38 +	cp -a $install/var $fs/
    1.39 +	cp -a $install/usr/bin $fs/usr
    1.40 +	cp -a $install/usr/sbin $fs/usr
    1.41 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.42 +}