wok view zonecheck/receipt @ rev 13766
Up: lrzip (0.614)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Jan 03 15:02:06 2013 +0300 (2013-01-03) |
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 }