wok-6.x annotate knot-dns/receipt @ rev 24641
updated hexchat and hexchat-plugin (2.10.2 -> 2.16.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 09 16:50:15 2022 +0100 (2022-03-09) |
parents | 910444aeff24 |
children |
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@24425 | 19 # What is the latest version available today? |
pascal@24425 | 20 current_version() |
pascal@24425 | 21 { |
pascal@24425 | 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 23 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24425 | 24 } |
pascal@24425 | 25 |
pascal@22406 | 26 # Rules to configure and make the package. |
pascal@22406 | 27 compile_rules() |
pascal@22406 | 28 { |
pascal@22406 | 29 ./configure --prefix=/usr \ |
pascal@22406 | 30 --sysconfdir=/etc \ |
pascal@22406 | 31 --localstatedir=/var \ |
pascal@22406 | 32 --mandir=/usr/share/man \ |
pascal@22406 | 33 $CONFIGURE_ARGS && |
pascal@22406 | 34 make && |
pascal@22406 | 35 make DESTDIR=$DESTDIR install |
pascal@22406 | 36 } |
pascal@22406 | 37 |
pascal@22406 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@22406 | 39 genpkg_rules() |
pascal@22406 | 40 { |
pascal@22406 | 41 mkdir -p $fs/usr/lib |
pascal@22406 | 42 cp -a $install/etc $fs/ |
pascal@22406 | 43 cp -a $install/var $fs/ |
pascal@22406 | 44 cp -a $install/usr/bin $fs/usr |
pascal@22406 | 45 cp -a $install/usr/sbin $fs/usr |
pascal@22406 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@22406 | 47 } |