wok annotate sheerdns/receipt @ rev 18649
Up links(2.12), nano(2.4.3), mc(tiny fix)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Mon Nov 30 21:57:53 2015 +0100 (2015-11-30) |
parents | 940b5937e496 |
children | 8dd8bab3f0ca |
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@2262 | 10 WEB_SITE="http://threading.2038bug.com/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 |