wok annotate sheerdns/receipt @ rev 15340
ibus: install im-ibus.la
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 29 11:30:44 2013 +0000 (2013-09-29) |
parents | ede0167feac1 |
children | 3b4e4318134e |
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@8974 | 18 for i in $( cd $stuff ; ls *.u); do |
pascal@2264 | 19 [ -f done.$i ] && continue |
pascal@8974 | 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 |