wok-current view zonecheck/receipt @ rev 23977

Up slitaz-base-files (343), slitaz-configs (318), tazinst (108), tazlito (529)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 31 16:33:00 2020 +0000 (2020-10-31)
parents 2d75b7daf345
children b9659e3c2111
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 LICENSE="GPL3"
9 WEB_SITE="https://www.zonemaster.fr/"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WGET_URL="$WEB_SITE/download/$TARBALL"
12 CONFIG_FILES="/etc/zonecheck"
14 DEPENDS="ruby"
15 BUILD_DEPENDS="rubygems"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ruby ./installer.rb all -DPREFIX=$DESTDIR/usr -DETCDIR=$DESTDIR/etc \
21 -DMANDIR=$DESTDIR/usr/share/man
22 grep -rl $DESTDIR $DESTDIR/usr/libexec | xargs sed -i "s|$DESTDIR||"
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/* $fs
29 tmp=$(readlink $fs/usr/bin/zonecheck)
30 rm -f $fs/usr/bin/zonecheck
31 ln -s ${tmp#$install} $fs/usr/bin/zonecheck
32 }