wok-6.x diff zonecheck/receipt @ rev 14553
thunderbird-langpack-en_GB: Up to 17.0.6esr
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu May 23 10:08:53 2013 +0200 (2013-05-23) |
parents | |
children | 10e6c72b2c15 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/zonecheck/receipt Thu May 23 10:08:53 2013 +0200 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="zonecheck" 1.7 +VERSION="3.0.5" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Check that a zone or domain name is correctly configured in the DNS." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://www.zonecheck.fr" 1.12 +TARBALL="$PACKAGE-$VERSION.tgz" 1.13 +WGET_URL="$WEB_SITE/download/$TARBALL" 1.14 +CONFIG_FILES="/etc/zonecheck" 1.15 + 1.16 +DEPENDS="ruby" 1.17 +BUILD_DEPENDS="ruby" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + ruby ./installer.rb all -DPREFIX=$DESTDIR/usr -DETCDIR=$DESTDIR/etc 1.23 + grep -rl $DESTDIR $DESTDIR/usr/libexec | xargs sed -i "s|$DESTDIR||" 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + cp -a $install/* $fs 1.30 + tmp=$(readlink $fs/usr/bin/zonecheck) 1.31 + rm -f $fs/usr/bin/zonecheck 1.32 + ln -s ${tmp#$install} $fs/usr/bin/zonecheck 1.33 +}