void-packages/srcpkgs/cpulimit/template

20 lines
508 B
Bash
Raw Normal View History

2015-10-05 09:41:58 +02:00
# Template file for 'cpulimit'
pkgname=cpulimit
version=0.2
2016-05-25 15:56:40 +02:00
revision=2
2015-10-05 09:41:58 +02:00
build_style=gnu-makefile
short_desc="Tool to limit the CPU usage of a process"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-2"
homepage="https://github.com/opsengine/cpulimit"
distfiles="https://github.com/opsengine/${pkgname}/archive/v${version}.tar.gz"
checksum=64312f9ac569ddcadb615593cd002c94b76e93a0d4625d3ce1abb49e08e2c2da
2016-05-25 15:56:40 +02:00
pre_build() {
export CFLAGS="$CFLAGS $LDFLAGS"
}
2015-10-05 09:41:58 +02:00
do_install() {
vbin src/cpulimit
}