void-packages/srcpkgs/vmtouch/template
2015-12-09 22:43:03 +01:00

23 lines
694 B
Bash

# Template file for 'vmtouch'
pkgname=vmtouch
version=1.0.2
revision=2
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-${version}.tar.gz"
checksum=48d41e5b805a0fcac46c12feeb4650e4b9def44b75d528d7c66c2f8b3a747c39
do_build() {
make ${makejobs}
}
do_install() {
make PREFIX=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share/man/man8 install
# for xlint: vlicense
vmkdir usr/share/licenses/vmtouch
sed -n '/^*/,/^*/p' vmtouch.c > ${DESTDIR}/usr/share/licenses/vmtouch/LICENSE
}