24 lines
691 B
Bash
24 lines
691 B
Bash
# Template file for 'vmtouch'
|
|
pkgname=vmtouch
|
|
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-${version}.tar.gz"
|
|
checksum=2d535ad441f282c2f821a29bca3c4c10e7f24ed933ecade09feb8fac6d36ef93
|
|
|
|
do_build() {
|
|
make ${makejobs} build
|
|
}
|
|
|
|
do_install() {
|
|
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
|
|
}
|