wok annotate zonecheck/receipt @ rev 14447

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