wok-current view sheerdns/receipt @ rev 24110
rdesktop: add debian patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 28 10:48:56 2021 +0000 (2021-09-28) |
parents | 3b4e4318134e |
children | b7f1bd1b9ac7 |
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="https://bsdforge.com/projects/dns/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 }