void-packages/srcpkgs/cpulimit/template
2016-05-25 09:56:46 -04:00

19 lines
508 B
Bash

# Template file for 'cpulimit'
pkgname=cpulimit
version=0.2
revision=2
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
pre_build() {
export CFLAGS="$CFLAGS $LDFLAGS"
}
do_install() {
vbin src/cpulimit
}