wok-6.x view sheerdns/receipt @ rev 20014

Up: repo update
author Leonardo Laporte <hackdorte@yandex.com>
date Mon Aug 07 05:59:22 2017 -0300 (2017-08-07)
parents 940b5937e496
children 8dd8bab3f0ca
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 }