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