wok-next view zonecheck/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents efc1e4b02968
children 0c430fcaf2d9
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="http://www.zonecheck.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 }