wok-next annotate 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 |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
pascal@13740 | 2 |
pascal@13740 | 3 PACKAGE="zonecheck" |
pascal@13740 | 4 VERSION="3.0.5" |
pascal@13740 | 5 CATEGORY="network" |
al@21020 | 6 SHORT_DESC="Check that a zone or domain name is correctly configured in the DNS" |
pascal@13740 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15021 | 8 LICENSE="GPL3" |
al@21020 | 9 WEB_SITE="http://www.zonecheck.fr/" |
al@21020 | 10 |
pascal@13740 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@13740 | 12 WGET_URL="$WEB_SITE/download/$TARBALL" |
pascal@13740 | 13 |
al@20910 | 14 BUILD_DEPENDS="ruby-dev" |
pascal@13740 | 15 |
al@21020 | 16 compile_rules() { |
al@21020 | 17 ruby \ |
al@21020 | 18 ./installer.rb all \ |
al@21020 | 19 -DPREFIX=$install/usr \ |
al@21020 | 20 -DETCDIR=$install/etc \ |
al@21020 | 21 -DMANDIR=$install/usr/share/man |
al@21020 | 22 grep -rl $install $install/usr/libexec | xargs sed -i "s|$install||" |
pascal@13740 | 23 } |
pascal@13740 | 24 |
al@21020 | 25 genpkg_rules() { |
pascal@13740 | 26 cp -a $install/* $fs |
pascal@13740 | 27 tmp=$(readlink $fs/usr/bin/zonecheck) |
pascal@13740 | 28 rm -f $fs/usr/bin/zonecheck |
pascal@13740 | 29 ln -s ${tmp#$install} $fs/usr/bin/zonecheck |
al@21020 | 30 DEPENDS="ruby" |
al@21020 | 31 CONFIG_FILES="/etc/zonecheck" |
pascal@13740 | 32 } |