mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
49d7bfd988
* fixes: DEBUG: Executing shell function do_install install: cannot stat 'TOPDIR/.../lib32-cpulimit/0.2-r0/git/src/lib32-cpulimit': No such file or directory WARNING: exit code 1 from a shell command. * drop strange 'g...@' from SRC_URI Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
23 lines
648 B
BlitzBasic
23 lines
648 B
BlitzBasic
SUMMARY = "cpulimit is a tool which limits the CPU usage of a process"
|
|
HOMEPAGE = "http://cpulimit.sourceforge.net"
|
|
LICENSE = "GPL-2.0-or-later"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=86c1c0d961a437e529db93aa3bb32dc4"
|
|
SRCREV ?= "f4d2682804931e7aea02a869137344bb5452a3cd"
|
|
|
|
SRC_URI = "git://github.com/opsengine/cpulimit.git;protocol=https;branch=master \
|
|
file://0001-Remove-sys-sysctl.h-and-add-missing-libgen.h-include.patch \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
do_compile() {
|
|
oe_runmake all
|
|
}
|
|
do_install() {
|
|
install -d ${D}${sbindir}
|
|
install -m 0755 ${B}/src/${BPN} ${D}${sbindir}/
|
|
}
|
|
|
|
CFLAGS += "-D_GNU_SOURCE ${LDFLAGS}"
|
|
|