wok-6.x view sheerdns/receipt @ rev 25469
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 07 09:15:33 2022 +0000 (2022-10-07) |
parents | b7f1bd1b9ac7 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="sheerdns"
4 VERSION="1.0.3"
5 CATEGORY="network"
6 SHORT_DESC="master DNS server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://bsdforge.com/projects/dns/sheerdns/"
11 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
12 CONFIG_FILES="/var/sheerdns"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://github.com/taraszka/sheerdns-ng/commits/master 2>/dev/null | \
18 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 mv $PACKAGE $src 2> /dev/null
25 cd $src
26 for i in $( cd $stuff ; ls *.u); do
27 [ -f done.$i ] && continue
28 patch -p0 < $stuff/$i
29 touch done.$i
30 done
31 make
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin $fs/var/sheerdns
38 cp -a $src/sheerdns $src/sheerdnshash $fs/usr/bin
39 }