wok-6.x annotate vmtouch/receipt @ rev 25292
updated rubberband (2.0.2 -> 3.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 19 10:19:50 2022 +0100 (2022-07-19) |
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 } |