wok annotate vmtouch/receipt @ rev 19231
Add vmtouch
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Jun 24 19:59:40 2016 +0100 (2016-06-24) |
parents | |
children | 867f233184fc |
rev | line source |
---|---|
paul@19231 | 1 # SliTaz package receipt. |
paul@19231 | 2 |
paul@19231 | 3 PACKAGE="vmtouch" |
paul@19231 | 4 VERSION="20160624" |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
paul@19231 | 11 WGET_URL="git|git://github.com/hoytech/vmtouch" |
paul@19231 | 12 |
paul@19231 | 13 #DEPENDS="" |
paul@19231 | 14 BUILD_DEPENDS="git bzip2" |
paul@19231 | 15 |
paul@19231 | 16 # Rules to configure and make the package. |
paul@19231 | 17 compile_rules() |
paul@19231 | 18 { |
paul@19231 | 19 gcc -Wall -O2 -o vmtouch vmtouch.c |
paul@19231 | 20 } |
paul@19231 | 21 |
paul@19231 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@19231 | 23 genpkg_rules() |
paul@19231 | 24 { |
paul@19231 | 25 mkdir -p $fs/usr/bin |
paul@19231 | 26 cp -a $src/$PACKAGE $fs/usr/bin |
paul@19231 | 27 } |
paul@19231 | 28 |