wok annotate vmtouch/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 5ea0ce1cecc0
children
rev   line source
paul@19231 1 # SliTaz package receipt.
paul@19231 2
paul@19231 3 PACKAGE="vmtouch"
Hans-G?nter@22113 4 VERSION="1.3.1"
paul@19231 5 CATEGORY="utilities"
paul@19231 6 SHORT_DESC="The Virtual Memory Toucher."
paul@19231 7 MAINTAINER="paul@slitaz.org"
paul@19231 8 LICENSE="BSD"
paul@19231 9 WEB_SITE="https://hoytech.com/vmtouch/"
paul@19231 10
Hans-G?nter@22113 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22113 12 WGET_URL="https://github.com/hoytech/$PACKAGE/archive/v$VERSION.tar.gz"
paul@19231 13
pascal@24055 14 current_version()
pascal@24055 15 {
pascal@24299 16 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 17 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 18 }
pascal@24055 19
paul@19231 20 # Rules to configure and make the package.
paul@19231 21 compile_rules()
paul@19231 22 {
paul@19947 23 make
paul@19231 24 }
paul@19231 25
paul@19231 26 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@19231 27 genpkg_rules()
paul@19231 28 {
paul@19947 29 mkdir -p $fs/usr/bin
paul@19947 30 cp -a $src/$PACKAGE $fs/usr/bin
paul@19231 31 }