wok-next view sheerdns/receipt @ rev 16693
slitaz-icon: workaround tarball
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 23 05:21:33 2014 +0300 (2014-05-23) |
parents | 940b5937e496 |
children | 2f03cb67a994 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sheerdns"
4 VERSION="1.0.3"
5 CATEGORY="network"
6 SHORT_DESC="master DNS server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://threading.2038bug.com/sheerdns/"
11 WGET_URL="${WEB_SITE}$TARBALL"
12 CONFIG_FILES="/var/sheerdns"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv $PACKAGE $src 2> /dev/null
18 cd $src
19 for i in $( cd $stuff ; ls *.u); do
20 [ -f done.$i ] && continue
21 patch -p0 < $stuff/$i
22 touch done.$i
23 done
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/var/sheerdns
31 cp -a $src/sheerdns $src/sheerdnshash $fs/usr/bin
32 }