mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 01:12:58 +02:00
cpulimit: use CFLAGS and LDFLAGS
This commit is contained in:
parent
d1435cdc18
commit
7dac2b28cc
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'cpulimit'
|
# Template file for 'cpulimit'
|
||||||
pkgname=cpulimit
|
pkgname=cpulimit
|
||||||
version=0.2
|
version=0.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
short_desc="Tool to limit the CPU usage of a process"
|
short_desc="Tool to limit the CPU usage of a process"
|
||||||
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
||||||
|
@ -10,6 +10,10 @@ homepage="https://github.com/opsengine/cpulimit"
|
||||||
distfiles="https://github.com/opsengine/${pkgname}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/opsengine/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=64312f9ac569ddcadb615593cd002c94b76e93a0d4625d3ce1abb49e08e2c2da
|
checksum=64312f9ac569ddcadb615593cd002c94b76e93a0d4625d3ce1abb49e08e2c2da
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
export CFLAGS="$CFLAGS $LDFLAGS"
|
||||||
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin src/cpulimit
|
vbin src/cpulimit
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue