wok view sheerdns/receipt @ rev 25706
BootProg/boot32.asm: add int 21h services 02h, 09h, 25h, 35h
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 26 17:36:15 2024 +0000 (4 months ago) |
parents | 4f225ad3e12e |
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 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
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 }