19 lines
611 B
Bash
19 lines
611 B
Bash
# Template file for 'vmtouch'
|
|
pkgname=vmtouch
|
|
version=1.2.0
|
|
revision=1
|
|
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=154034dec5ef550dcb7ff5a359ee1b7a9421f586f47237e3bc2617efa148b5fd
|
|
|
|
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
|
|
}
|