wok-6.x diff zonecheck/receipt @ rev 15008

strigi, cryptsetup: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 10:33:55 2013 +0000 (2013-08-11)
parents
children 10e6c72b2c15
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/zonecheck/receipt	Sun Aug 11 10:33:55 2013 +0000
     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 +}