diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-08-19 09:26:48 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-21 22:51:41 +0100 |
commit | 78d25f0800a3bec9b64e31ce49a4ea385ad159f5 (patch) | |
tree | 5a3d6446f5f23dde39e91c6803c9ee0cc04c2007 /meta/recipes-core/libcgroup/libcgroup_3.0.0.bb | |
parent | 2bbf6c3fcf2151db0d577c90365db55363d1278c (diff) | |
download | poky-78d25f0800a3bec9b64e31ce49a4ea385ad159f5.tar.gz |
libcgroup: update 2.0.2 -> 3.0.0
License-Update: formatting
(From OE-Core rev: b8a2734540a23e4a02922211220d5812cc3a8b59)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/libcgroup/libcgroup_3.0.0.bb')
-rw-r--r-- | meta/recipes-core/libcgroup/libcgroup_3.0.0.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-core/libcgroup/libcgroup_3.0.0.bb b/meta/recipes-core/libcgroup/libcgroup_3.0.0.bb new file mode 100644 index 0000000000..efd887844d --- /dev/null +++ b/meta/recipes-core/libcgroup/libcgroup_3.0.0.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | SUMMARY = "Linux control group abstraction library" | ||
2 | HOMEPAGE = "http://libcg.sourceforge.net/" | ||
3 | DESCRIPTION = "libcgroup is a library that abstracts the control group file system \ | ||
4 | in Linux. Control groups allow you to limit, account and isolate resource usage \ | ||
5 | (CPU, memory, disk I/O, etc.) of groups of processes." | ||
6 | SECTION = "libs" | ||
7 | LICENSE = "LGPL-2.1-only" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=4d794c5d710e5b3547a6cc6a6609a641" | ||
9 | |||
10 | inherit autotools pkgconfig | ||
11 | |||
12 | DEPENDS = "bison-native flex-native" | ||
13 | |||
14 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v3.0/${BP}.tar.gz" | ||
15 | |||
16 | SRC_URI[sha256sum] = "8d284d896fca1c981b55850e92acd3ad9648a69227c028dda7ae3402af878edd" | ||
17 | UPSTREAM_CHECK_URI = "https://github.com/libcgroup/libcgroup/releases/" | ||
18 | |||
19 | DEPENDS:append:libc-musl = " fts " | ||
20 | EXTRA_OEMAKE:append:libc-musl = " LIBS=-lfts" | ||
21 | |||
22 | PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" | ||
23 | PACKAGECONFIG[pam] = "--enable-pam-module-dir=${base_libdir}/security --enable-pam=yes,--enable-pam=no,libpam" | ||
24 | |||
25 | PACKAGES =+ "cgroups-pam-plugin" | ||
26 | FILES:cgroups-pam-plugin = "${base_libdir}/security/pam_cgroup.so*" | ||
27 | FILES:${PN}-dev += "${base_libdir}/security/*.la" | ||
28 | FILES:${PN}-staticdev += "${base_libdir}/security/pam_cgroup.a" | ||
29 | |||
30 | do_install:append() { | ||
31 | # Until we ship the test suite, this library isn't useful | ||
32 | rm -f ${D}${libdir}/libcgroupfortesting.* | ||
33 | } | ||