void-packages/srcpkgs/vmtouch/template
2016-08-13 09:51:24 +02:00

18 lines
611 B
Bash

# Template file for 'vmtouch'
pkgname=vmtouch
version=1.1.0
revision=2
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/v${version}.tar.gz"
checksum=1ba2a12aabed977894ce3a272b2fa8ed6ddfec7a720d7686e074f9e756104796
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
}