vmtouch: update to 1.0.1
This commit is contained in:
parent
e48b3f327e
commit
aed7c704a6
1 changed files with 10 additions and 7 deletions
|
@ -1,20 +1,23 @@
|
|||
# Template file for 'vmtouch'
|
||||
pkgname=vmtouch
|
||||
version=0.8.0
|
||||
wrksrc="${pkgname}-${pkgname}-${version}"
|
||||
version=1.0.1
|
||||
revision=1
|
||||
wrksrc="${pkgname}-${pkgname}-${version}"
|
||||
maintainer="Dominik Honnef <dominik@honnef.co>"
|
||||
license="BSD"
|
||||
hostmakedepends="perl"
|
||||
homepage="http://hoytech.com/vmtouch/"
|
||||
short_desc="The Virtual Memory Toucher"
|
||||
distfiles="https://github.com/hoytech/vmtouch/archive/vmtouch-0.8.0.tar.gz"
|
||||
checksum=6848b9355451e8ab848501b5604f47a396bce1ef1dcb613577feaaaea1dfe262
|
||||
distfiles="https://github.com/hoytech/vmtouch/archive/vmtouch-${version}.tar.gz"
|
||||
checksum=2d535ad441f282c2f821a29bca3c4c10e7f24ed933ecade09feb8fac6d36ef93
|
||||
|
||||
do_build() {
|
||||
$CC $CFLAGS -o vmtouch vmtouch.c $LDFLAGS
|
||||
make ${makejobs} build
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin vmtouch
|
||||
vman vmtouch.8
|
||||
make PREFIX=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share install
|
||||
# for xlint: vlicense
|
||||
vmkdir usr/share/licenses/vmtouch
|
||||
sed -n '/^*/,/^*/p' vmtouch.c > ${DESTDIR}/usr/share/licenses/vmtouch/LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue