wok view zonecheck/receipt @ rev 25166

updated python-cffi (1.12.3 -> 1.15.1)
author Hans-G?nter Theisgen
date Fri Jul 01 11:13:57 2022 +0100 (2022-07-01)
parents 8685ee90f6aa
children 7f7bd3c9775e
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 # 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 }