wok view zonecheck/receipt @ rev 14718

lib[s-z]*: add LICENSE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 11 11:57:36 2013 +0200 (2013-06-11)
parents
children 10e6c72b2c15
line source
1 # SliTaz package receipt.
3 PACKAGE="zonecheck"
4 VERSION="3.0.5"
5 CATEGORY="network"
6 SHORT_DESC="Check that a zone or domain name is correctly configured in the DNS."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://www.zonecheck.fr"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WGET_URL="$WEB_SITE/download/$TARBALL"
11 CONFIG_FILES="/etc/zonecheck"
13 DEPENDS="ruby"
14 BUILD_DEPENDS="ruby"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ruby ./installer.rb all -DPREFIX=$DESTDIR/usr -DETCDIR=$DESTDIR/etc
20 grep -rl $DESTDIR $DESTDIR/usr/libexec | xargs sed -i "s|$DESTDIR||"
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/* $fs
27 tmp=$(readlink $fs/usr/bin/zonecheck)
28 rm -f $fs/usr/bin/zonecheck
29 ln -s ${tmp#$install} $fs/usr/bin/zonecheck
30 }