mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
0001-include-Makefile-install-systemd.h-by-default.patch removed since it's included in 3.2.0 (From OE-Core rev: 38f3346423fe7362d901d8f78e61aa96a67db867) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
1.3 KiB
BlitzBasic
33 lines
1.3 KiB
BlitzBasic
SUMMARY = "Linux control group abstraction library"
|
|
HOMEPAGE = "http://libcg.sourceforge.net/"
|
|
DESCRIPTION = "libcgroup is a library that abstracts the control group file system \
|
|
in Linux. Control groups allow you to limit, account and isolate resource usage \
|
|
(CPU, memory, disk I/O, etc.) of groups of processes."
|
|
SECTION = "libs"
|
|
LICENSE = "LGPL-2.1-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=4d794c5d710e5b3547a6cc6a6609a641"
|
|
|
|
inherit autotools pkgconfig github-releases
|
|
|
|
DEPENDS = "bison-native flex-native"
|
|
DEPENDS:append:libc-musl = " fts"
|
|
|
|
SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz"
|
|
UPSTREAM_CHECK_URI = "https://github.com/libcgroup/libcgroup/tags"
|
|
|
|
SRC_URI[sha256sum] = "9a0fc2d6c377215c3e0d849f9189ecd91fd075f1da0a24b73f56c8892e86bdfe"
|
|
|
|
PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)}"
|
|
PACKAGECONFIG[pam] = "--enable-pam-module-dir=${base_libdir}/security --enable-pam=yes,--enable-pam=no,libpam"
|
|
PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
|
|
|
|
PACKAGES =+ "cgroups-pam-plugin"
|
|
FILES:cgroups-pam-plugin = "${base_libdir}/security/pam_cgroup.so*"
|
|
FILES:${PN}-dev += "${base_libdir}/security/*.la"
|
|
FILES:${PN}-staticdev += "${base_libdir}/security/pam_cgroup.a"
|
|
|
|
do_install:append() {
|
|
# Until we ship the test suite, this library isn't useful
|
|
rm -f ${D}${libdir}/libcgroupfortesting.*
|
|
}
|