wok-current annotate zonecheck/receipt @ rev 20220
Up tazlito (487)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 26 11:07:16 2018 +0100 (2018-02-26) |
parents | 10917ea527b1 |
children | 8685ee90f6aa |
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@15021 | 8 LICENSE="GPL3" |
pascal@13740 | 9 WEB_SITE="http://www.zonecheck.fr" |
pascal@13740 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@13740 | 11 WGET_URL="$WEB_SITE/download/$TARBALL" |
pascal@13740 | 12 CONFIG_FILES="/etc/zonecheck" |
pascal@13740 | 13 |
pascal@13740 | 14 DEPENDS="ruby" |
pascal@17723 | 15 BUILD_DEPENDS="rubygems" |
pascal@13740 | 16 |
pascal@13740 | 17 # Rules to configure and make the package. |
pascal@13740 | 18 compile_rules() |
pascal@13740 | 19 { |
pascal@19283 | 20 ruby ./installer.rb all -DPREFIX=$DESTDIR/usr -DETCDIR=$DESTDIR/etc \ |
pascal@19283 | 21 -DMANDIR=$DESTDIR/usr/share/man |
pascal@13740 | 22 grep -rl $DESTDIR $DESTDIR/usr/libexec | xargs sed -i "s|$DESTDIR||" |
pascal@13740 | 23 } |
pascal@13740 | 24 |
pascal@13740 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13740 | 26 genpkg_rules() |
pascal@13740 | 27 { |
pascal@13740 | 28 cp -a $install/* $fs |
pascal@13740 | 29 tmp=$(readlink $fs/usr/bin/zonecheck) |
pascal@13740 | 30 rm -f $fs/usr/bin/zonecheck |
pascal@13740 | 31 ln -s ${tmp#$install} $fs/usr/bin/zonecheck |
pascal@13740 | 32 } |