void-packages/srcpkgs/vmtouch/template

24 lines
694 B
Bash
Raw Normal View History

2014-12-09 21:19:11 +00:00
# Template file for 'vmtouch'
pkgname=vmtouch
2015-12-09 21:39:31 +00:00
version=1.0.2
2015-12-09 21:42:59 +00:00
revision=2
2015-10-24 19:51:57 +00:00
wrksrc="${pkgname}-${pkgname}-${version}"
2014-12-09 21:19:11 +00:00
maintainer="Dominik Honnef <dominik@honnef.co>"
license="BSD"
2015-10-24 19:51:57 +00:00
hostmakedepends="perl"
2014-12-09 21:19:11 +00:00
homepage="http://hoytech.com/vmtouch/"
short_desc="The Virtual Memory Toucher"
2015-10-24 19:51:57 +00:00
distfiles="https://github.com/hoytech/vmtouch/archive/vmtouch-${version}.tar.gz"
2015-12-09 21:39:31 +00:00
checksum=48d41e5b805a0fcac46c12feeb4650e4b9def44b75d528d7c66c2f8b3a747c39
2014-12-09 21:19:11 +00:00
do_build() {
2015-12-09 21:39:31 +00:00
make ${makejobs}
2014-12-09 21:19:11 +00:00
}
do_install() {
2015-12-09 21:42:59 +00:00
make PREFIX=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share/man/man8 install
2015-10-24 19:51:57 +00:00
# for xlint: vlicense
vmkdir usr/share/licenses/vmtouch
sed -n '/^*/,/^*/p' vmtouch.c > ${DESTDIR}/usr/share/licenses/vmtouch/LICENSE
2014-12-09 21:19:11 +00:00
}