wok-stable annotate sheerdns/receipt @ rev 2264
Sheerdns: extend wildcard scope
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 16 13:50:36 2009 +0000 (2009-02-16) |
parents | eb6dcc605cbc |
children | ede0167feac1 |
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@2262 | 11 |
pascal@2262 | 12 # Rules to configure and make the package. |
pascal@2262 | 13 compile_rules() |
pascal@2262 | 14 { |
pascal@2262 | 15 mv $PACKAGE $src 2> /dev/null |
pascal@2262 | 16 cd $src |
pascal@2264 | 17 for i in $( cd ../stuff ; ls *.u); do |
pascal@2264 | 18 [ -f done.$i ] && continue |
pascal@2264 | 19 patch -p0 < ../stuff/$i |
pascal@2264 | 20 touch done.$i |
pascal@2264 | 21 done |
pascal@2262 | 22 make |
pascal@2262 | 23 } |
pascal@2262 | 24 |
pascal@2262 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2262 | 26 genpkg_rules() |
pascal@2262 | 27 { |
pascal@2262 | 28 mkdir -p $fs/usr/bin |
pascal@2262 | 29 cp -a $src/sheerdns $src/sheerdnshash $fs/usr/bin |
pascal@2262 | 30 } |
pascal@2262 | 31 |