wok-next view zonecheck/receipt @ rev 21033

Fix some homepages: follow HTTP redirections.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Nov 04 11:22:16 2018 +0200 (2018-11-04)
parents d5aab818505e
children 49205cea4356
line source
1 # SliTaz package receipt v2.
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/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="$WEB_SITE/download/$TARBALL"
14 BUILD_DEPENDS="ruby-dev"
16 compile_rules() {
17 ruby \
18 ./installer.rb all \
19 -DPREFIX=$install/usr \
20 -DETCDIR=$install/etc \
21 -DMANDIR=$install/usr/share/man
22 grep -rl $install $install/usr/libexec | xargs sed -i "s|$install||"
23 }
25 genpkg_rules() {
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 DEPENDS="ruby"
31 CONFIG_FILES="/etc/zonecheck"
32 }