summaryrefslogtreecommitdiff
path: root/packages/sysfsutils/sysfsutils_1.1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sysfsutils/sysfsutils_1.1.0.bb')
-rw-r--r--packages/sysfsutils/sysfsutils_1.1.0.bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/sysfsutils/sysfsutils_1.1.0.bb b/packages/sysfsutils/sysfsutils_1.1.0.bb
index e69de29bb2..9168347112 100644
--- a/packages/sysfsutils/sysfsutils_1.1.0.bb
+++ b/packages/sysfsutils/sysfsutils_1.1.0.bb
@@ -0,0 +1,14 @@
+SECTION = "base"
+SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz"
+S = "${WORKDIR}/sysfsutils-${PV}"
+LICENSE = "GPL"
+inherit autotools
+
+includedir += "/sysfs"
+
+do_stage () {
+ oe_libinstall -a -so -C lib libsysfs ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}/sysfs
+ install -m 0644 ${S}/include/dlist.h ${STAGING_INCDIR}/sysfs
+ install -m 0644 ${S}/include/libsysfs.h ${STAGING_INCDIR}/sysfs
+}