wok-next annotate sheerdns/receipt @ rev 20533
cairo-clock, grub4dos: fix CFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 27 12:50:45 2018 +0200 (2018-03-27) |
parents | 3b4e4318134e |
children | d6378d455338 |
rev | line source |
---|---|
al@20491 | 1 # SliTaz package receipt v2. |
pascal@2262 | 2 |
pascal@2262 | 3 PACKAGE="sheerdns" |
pascal@2262 | 4 VERSION="1.0.3" |
pascal@2262 | 5 CATEGORY="network" |
al@20491 | 6 SHORT_DESC="Master DNS server" |
pascal@2262 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
al@20491 | 9 WEB_SITE="http://threading.2038bug.com/sheerdns/" |
al@20491 | 10 |
pascal@2262 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2262 | 12 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@2262 | 13 |
al@20491 | 14 compile_rules() { |
al@20491 | 15 mv $PACKAGE $src 2>/dev/null |
pascal@2262 | 16 cd $src |
pascal@8974 | 17 for i in $( cd $stuff ; ls *.u); do |
pascal@2264 | 18 [ -f done.$i ] && continue |
pascal@8974 | 19 patch -p0 < $stuff/$i |
pascal@2264 | 20 touch done.$i |
pascal@2264 | 21 done |
al@20491 | 22 make || return 1 |
al@20491 | 23 |
al@20491 | 24 mkdir -p $install/usr/bin/ $install/var/sheerdns/ |
al@20491 | 25 cp -a $src/sheerdns $src/sheerdnshash $install/usr/bin |
pascal@2262 | 26 } |
pascal@2262 | 27 |
al@20491 | 28 genpkg_rules() { |
al@20491 | 29 copy @std |
al@20491 | 30 CONFIG_FILES="/var/sheerdns/" |
pascal@2262 | 31 } |