wok-stable view sheerdns/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
parents ede0167feac1
children
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://threading.2038bug.com/sheerdns/"
10 WGET_URL="${WEB_SITE}$TARBALL"
11 CONFIG_FILES="/var/sheerdns"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mv $PACKAGE $src 2> /dev/null
17 cd $src
18 for i in $( cd $stuff ; ls *.u); do
19 [ -f done.$i ] && continue
20 patch -p0 < $stuff/$i
21 touch done.$i
22 done
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin $fs/var/sheerdns
30 cp -a $src/sheerdns $src/sheerdnshash $fs/usr/bin
31 }