summaryrefslogtreecommitdiff
path: root/packages/libcap/libcap_1.10.bb
diff options
context:
space:
mode:
authorDirk Opfer <dirk@opfer-online.de>2006-03-22 22:22:22 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-03-22 22:22:22 +0000
commitb823b49470515182cb6f7a536d6a63fac53948aa (patch)
tree276d48cc6d966ad1d8c9b56d85b8d7671ae51be1 /packages/libcap/libcap_1.10.bb
parentbab5441263d488b4ea7d2b4688e20532f1e022e7 (diff)
libcap: add 1.10
Diffstat (limited to 'packages/libcap/libcap_1.10.bb')
-rw-r--r--packages/libcap/libcap_1.10.bb26
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