wok view zonecheck/receipt @ rev 25577
Up nimrod (1.6.12) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 13 18:02:59 2023 +0000 (18 months ago) |
parents | b9659e3c2111 |
children |
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="https://github.com/sdelafond/zonecheck/archive/refs/tags/upstream/$VERSION.tar.gz"
12 CONFIG_FILES="/etc/zonecheck"
14 DEPENDS="ruby"
15 BUILD_DEPENDS="rubygems"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/sdelafond/zonecheck/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ruby ./installer.rb all -DPREFIX=$DESTDIR/usr -DETCDIR=$DESTDIR/etc \
28 -DMANDIR=$DESTDIR/usr/share/man
29 grep -rl $DESTDIR $DESTDIR/usr/libexec | xargs sed -i "s|$DESTDIR||"
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 tmp=$(readlink $fs/usr/bin/zonecheck)
37 rm -f $fs/usr/bin/zonecheck
38 ln -s ${tmp#$install} $fs/usr/bin/zonecheck
39 }