wok annotate sheerdns/receipt @ rev 21099

updated laptop-mode-tools again (1.60 -> 1.72.2)
author Hans-G?nter Theisgen
date Mon Mar 18 16:26:35 2019 +0100 (2019-03-18)
parents 3b4e4318134e
children b7f1bd1b9ac7
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@2262 14 # Rules to configure and make the package.
pascal@2262 15 compile_rules()
pascal@2262 16 {
pascal@2262 17 mv $PACKAGE $src 2> /dev/null
pascal@2262 18 cd $src
pascal@8974 19 for i in $( cd $stuff ; ls *.u); do
pascal@2264 20 [ -f done.$i ] && continue
pascal@8974 21 patch -p0 < $stuff/$i
pascal@2264 22 touch done.$i
pascal@2264 23 done
pascal@2262 24 make
pascal@2262 25 }
pascal@2262 26
pascal@2262 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2262 28 genpkg_rules()
pascal@2262 29 {
pascal@2269 30 mkdir -p $fs/usr/bin $fs/var/sheerdns
pascal@2262 31 cp -a $src/sheerdns $src/sheerdnshash $fs/usr/bin
pascal@2262 32 }
pascal@2262 33