wok annotate sheerdns/receipt @ rev 4221
terminal: fix WGET
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 24 13:10:14 2009 +0200 (2009-09-24) |
parents | 348e5329da7d |
children | 940b5937e496 |
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@2262 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2262 | 9 WEB_SITE="http://threading.2038bug.com/sheerdns/" |
pascal@2262 | 10 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@2269 | 11 CONFIG_FILES="/var/sheerdns" |
pascal@2262 | 12 |
pascal@2262 | 13 # Rules to configure and make the package. |
pascal@2262 | 14 compile_rules() |
pascal@2262 | 15 { |
pascal@2262 | 16 mv $PACKAGE $src 2> /dev/null |
pascal@2262 | 17 cd $src |
pascal@2264 | 18 for i in $( cd ../stuff ; ls *.u); do |
pascal@2264 | 19 [ -f done.$i ] && continue |
pascal@2264 | 20 patch -p0 < ../stuff/$i |
pascal@2264 | 21 touch done.$i |
pascal@2264 | 22 done |
pascal@2262 | 23 make |
pascal@2262 | 24 } |
pascal@2262 | 25 |
pascal@2262 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2262 | 27 genpkg_rules() |
pascal@2262 | 28 { |
pascal@2269 | 29 mkdir -p $fs/usr/bin $fs/var/sheerdns |
pascal@2262 | 30 cp -a $src/sheerdns $src/sheerdnshash $fs/usr/bin |
pascal@2262 | 31 } |
pascal@2262 | 32 |