diff options
author | Saul Wold <sgw@linux.intel.com> | 2013-01-23 13:27:30 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-28 12:29:32 +0000 |
commit | 30ec3110d91314ae117f3c657e474e7b8395c4ac (patch) | |
tree | 8dc7e43b480d4a3e7d5b23e2245824326334864e /meta/recipes-core/libcgroup/libcgroup_0.37.1.bb | |
parent | e1b9645d00fedbfdbdb81ed8af580f7c5e42614c (diff) | |
download | poky-30ec3110d91314ae117f3c657e474e7b8395c4ac.tar.gz |
libcgroup: Update to 0.38
(From OE-Core rev: daf1298f6c34ce7efe4084ebbb1015b55c248383)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/libcgroup/libcgroup_0.37.1.bb')
-rw-r--r-- | meta/recipes-core/libcgroup/libcgroup_0.37.1.bb | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/meta/recipes-core/libcgroup/libcgroup_0.37.1.bb b/meta/recipes-core/libcgroup/libcgroup_0.37.1.bb deleted file mode 100644 index d217f7b149..0000000000 --- a/meta/recipes-core/libcgroup/libcgroup_0.37.1.bb +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | DESCRIPTION = "Libcgroup" | ||
2 | SECTION = "libs" | ||
3 | LICENSE = "LGPLv2.1" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" | ||
5 | |||
6 | PR = "r2" | ||
7 | |||
8 | inherit autotools pkgconfig | ||
9 | |||
10 | DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | ||
11 | |||
12 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/libcg/${BPN}/v${PV}/${BPN}-${PV}.tar.bz2" | ||
13 | SRC_URI[md5sum] = "24a41b18de112e8d085bb1f7d9e82af7" | ||
14 | SRC_URI[sha256sum] = "0b08632de5d3641aa554b422d02a77d9367e57933328a8765204ad9588cd5c0d" | ||
15 | |||
16 | EXTRA_OECONF = "${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam-module-dir=${base_libdir}/security --enable-pam=yes', '--enable-pam=no', d)}" | ||
17 | |||
18 | # http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg21444.html | ||
19 | PARALLEL_MAKE = "" | ||
20 | |||
21 | PACKAGES =+ "cgroups-pam-plugin" | ||
22 | FILES_cgroups-pam-plugin = "${base_libdir}/security/pam_cgroup.so*" | ||
23 | FILES_${PN}-dbg += "${base_libdir}/security/.debug" | ||
24 | FILES_${PN}-dev += "${base_libdir}/security/*.la" | ||
25 | |||
26 | do_install_append() { | ||
27 | # Moving libcgroup to base_libdir | ||
28 | if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then | ||
29 | mkdir -p ${D}/${base_libdir}/ | ||
30 | mv -f ${D}${libdir}/libcgroup.so.* ${D}${base_libdir}/ | ||
31 | ln -sf ${D}${base_libdir}/libcgroup.so.1 ${D}${libdir}/libcgroup.so | ||
32 | fi | ||
33 | # pam modules in ${base_libdir}/security/ should be binary .so files, not symlinks. | ||
34 | if [ -f ${D}${base_libdir}/security/pam_cgroup.so.0.0.0 ]; then | ||
35 | mv -f ${D}${base_libdir}/security/pam_cgroup.so.0.0.0 ${D}${base_libdir}/security/pam_cgroup.so | ||
36 | rm -f ${D}${base_libdir}/security/pam_cgroup.so.* | ||
37 | fi | ||
38 | } | ||