wok-current view sheerdns/receipt @ rev 24804
updated liblouis and liblouis-dev (3.13.0 -> 3.21.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 10:57:54 2022 +0100 (2022-03-22) |
parents | 8dd8bab3f0ca |
children | 4f225ad3e12e |
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="${WEB_SITE}$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 }