summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXin Ouyang <Xin.Ouyang@windriver.com>2012-02-13 16:04:35 +0800
committerXin Ouyang <Xin.Ouyang@windriver.com>2012-02-13 16:08:45 +0800
commita032b2ec117d1ae6960c2994d118455ff0a9a010 (patch)
treeeeb7a0414dcbfcf0ed0dd65304d153ebe27216a2
parent63e12109ce58a5622dc47bdff2d1d347b3474a04 (diff)
downloadmeta-selinux-a032b2ec117d1ae6960c2994d118455ff0a9a010.tar.gz
libcgroup: needed by policycoreutils.
-rw-r--r--recipes-core/libcgroup/libcgroup_0.37.1.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-core/libcgroup/libcgroup_0.37.1.bb b/recipes-core/libcgroup/libcgroup_0.37.1.bb
new file mode 100644
index 0000000..2b365be
--- /dev/null
+++ b/recipes-core/libcgroup/libcgroup_0.37.1.bb
@@ -0,0 +1,25 @@
1DESCRIPTION = "Libcgroup"
2SECTION = "libs"
3LICENSE = "LGPLv2.1"
4LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
5
6inherit autotools pkgconfig
7
8DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
9
10SRC_URI = "${SOURCEFORGE_MIRROR}/project/libcg/libcgroup/v${PV}/libcgroup-${PV}.tar.bz2"
11SRC_URI[md5sum] = "24a41b18de112e8d085bb1f7d9e82af7"
12SRC_URI[sha256sum] = "0b08632de5d3641aa554b422d02a77d9367e57933328a8765204ad9588cd5c0d"
13
14EXTRA_OECONF = "${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam-module-dir=${base_libdir}/security --enable-pam=yes', '--enable-pam=no', d)}"
15
16# http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg21444.html
17PARALLEL_MAKE = ""
18
19PACKAGES =+ "cgroups-pam-plugin"
20FILES_cgroups-pam-plugin = "${base_libdir}/security/pam_cgroup.so*"
21
22# We really need the symlink so :(
23ERROR_QA = "debug-deps dev-deps debug-files arch la2 pkgconfig la perms"
24
25BBCLASSEXTEND = "native"