wok-6.x annotate sheerdns/receipt @ rev 24842
updated libunistring and libunistring-dev (0.9.10 -> 1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 09:45:42 2022 +0100 (2022-03-25) |
parents | 8dd8bab3f0ca |
children | 4f225ad3e12e |
rev | line source |
---|---|
pascal@2262 | 1 # SliTaz package receipt. |
pascal@2262 | 2 |
pascal@2262 | 3 PACKAGE="sheerdns" |
pascal@2262 | 4 VERSION="1.0.3" |
pascal@2262 | 5 CATEGORY="network" |
pascal@2262 | 6 SHORT_DESC="master DNS server." |
pascal@2262 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
pascal@2262 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20672 | 10 WEB_SITE="https://bsdforge.com/projects/dns/sheerdns/" |
pascal@2262 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@2269 | 12 CONFIG_FILES="/var/sheerdns" |
pascal@2262 | 13 |
pascal@24713 | 14 # What is the latest version available today? |
pascal@24713 | 15 current_version() |
pascal@24713 | 16 { |
pascal@24713 | 17 wget -O - https://github.com/taraszka/sheerdns-ng/commits/master 2>/dev/null | \ |
pascal@24713 | 18 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d |
pascal@24713 | 19 } |
pascal@24713 | 20 |
pascal@2262 | 21 # Rules to configure and make the package. |
pascal@2262 | 22 compile_rules() |
pascal@2262 | 23 { |
pascal@2262 | 24 mv $PACKAGE $src 2> /dev/null |
pascal@2262 | 25 cd $src |
pascal@8974 | 26 for i in $( cd $stuff ; ls *.u); do |
pascal@2264 | 27 [ -f done.$i ] && continue |
pascal@8974 | 28 patch -p0 < $stuff/$i |
pascal@2264 | 29 touch done.$i |
pascal@2264 | 30 done |
pascal@2262 | 31 make |
pascal@2262 | 32 } |
pascal@2262 | 33 |
pascal@2262 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2262 | 35 genpkg_rules() |
pascal@2262 | 36 { |
pascal@2269 | 37 mkdir -p $fs/usr/bin $fs/var/sheerdns |
pascal@2262 | 38 cp -a $src/sheerdns $src/sheerdnshash $fs/usr/bin |
pascal@2262 | 39 } |
pascal@2262 | 40 |