wok annotate vmtouch/receipt @ rev 24101

lrzip: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 16 16:33:44 2021 +0000 (2021-09-16)
parents 7b00cceb3650
children ac8ca9758df1
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@24055 16 wget -O - ${WGET_URL%/arch*}/releases 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 }