wok annotate knot-dns/receipt @ rev 23154
updated lynis (2.7.4 -> 2.7.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 15 16:57:40 2020 +0100 (2020-03-15) |
parents | 0f90bab87178 |
children | 453c249b6219 |
rev | line source |
---|---|
pascal@22406 | 1 # SliTaz package receipt. |
pascal@22406 | 2 |
pascal@22406 | 3 PACKAGE="knot-dns" |
pascal@22406 | 4 SOURCE=""knot |
pascal@22406 | 5 VERSION="2.9.1" |
pascal@22406 | 6 CATEGORY="network" |
pascal@22406 | 7 SHORT_DESC="High-performance authoritative DNS server" |
pascal@22406 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@22406 | 9 LICENSE="GPL3" |
pascal@22406 | 10 TARBALL="$SOURCE-$VERSION.tar.xz" |
pascal@22406 | 11 WEB_SITE="https://www.knot-dns.cz/" |
pascal@22406 | 12 WGET_URL="https://secure.nic.cz/files/knot-dns/$TARBALL" |
pascal@22410 | 13 CONFIG_FILES="/etc/knot" |
pascal@22406 | 14 TAGS="dns" |
pascal@22406 | 15 |
pascal@22406 | 16 DEPENDS="gnutls liburcu libedit" |
pascal@22407 | 17 BUILD_DEPENDS="libgnutls gnutls-dev liburcu-dev libedit-dev" |
pascal@22406 | 18 |
pascal@22406 | 19 # Rules to configure and make the package. |
pascal@22406 | 20 compile_rules() |
pascal@22406 | 21 { |
pascal@22406 | 22 ./configure --prefix=/usr \ |
pascal@22406 | 23 --sysconfdir=/etc \ |
pascal@22406 | 24 --localstatedir=/var \ |
pascal@22406 | 25 --mandir=/usr/share/man \ |
pascal@22406 | 26 $CONFIGURE_ARGS && |
pascal@22406 | 27 make && |
pascal@22406 | 28 make DESTDIR=$DESTDIR install |
pascal@22406 | 29 } |
pascal@22406 | 30 |
pascal@22406 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@22406 | 32 genpkg_rules() |
pascal@22406 | 33 { |
pascal@22406 | 34 mkdir -p $fs/usr/lib |
pascal@22406 | 35 cp -a $install/etc $fs/ |
pascal@22406 | 36 cp -a $install/var $fs/ |
pascal@22406 | 37 cp -a $install/usr/bin $fs/usr |
pascal@22406 | 38 cp -a $install/usr/sbin $fs/usr |
pascal@22406 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@22406 | 40 } |