diff options
author | Dirk Opfer <dirk@opfer-online.de> | 2006-03-22 22:22:22 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-03-22 22:22:22 +0000 |
commit | b823b49470515182cb6f7a536d6a63fac53948aa (patch) | |
tree | 276d48cc6d966ad1d8c9b56d85b8d7671ae51be1 /packages/libcap/libcap_1.10.bb | |
parent | bab5441263d488b4ea7d2b4688e20532f1e022e7 (diff) |
libcap: add 1.10
Diffstat (limited to 'packages/libcap/libcap_1.10.bb')
-rw-r--r-- | packages/libcap/libcap_1.10.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/libcap/libcap_1.10.bb b/packages/libcap/libcap_1.10.bb new file mode 100644 index 0000000000..886248c5ad --- /dev/null +++ b/packages/libcap/libcap_1.10.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) draft 15 capabilities." +PRIORITY = "optional" +SECTION = "libs" +LICENSE = "GPL" + +SRC_URI = "http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/libcap-${PV}.tar.bz2 \ + file://makenames.patch;patch=1 \ + file://make.patch;patch=1 " + +S = "${WORKDIR}/libcap-${PV}" + +do_stage() { + install -d ${STAGING_INCDIR}/sys + install -m 0644 libcap/include/sys/capability.h ${STAGING_INCDIR}/sys/ + oe_libinstall -s -C libcap libcap ${STAGING_LIBDIR} +} + +do_install() { + install -d ${D}${includedir}/sys + install -m 0644 libcap/include/sys/capability.h ${D}${includedir}/sys/ + install -d ${D}${libdir} + oe_libinstall -s -C libcap libcap ${D}${libdir} +} + +FILES_${PN} = "${libdir}" +FILES_${PN}-dev = "${includedir}"
\ No newline at end of file |