summaryrefslogtreecommitdiff
path: root/sysfsutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysfsutils')
-rw-r--r--sysfsutils/sysfsutils_1.1.0.oe14
-rw-r--r--sysfsutils/sysfsutils_1.2.0.oe18
2 files changed, 32 insertions, 0 deletions
diff --git a/sysfsutils/sysfsutils_1.1.0.oe b/sysfsutils/sysfsutils_1.1.0.oe
index e69de29bb2..8ee9e0d900 100644
--- a/sysfsutils/sysfsutils_1.1.0.oe
+++ b/sysfsutils/sysfsutils_1.1.0.oe
@@ -0,0 +1,14 @@
+SECTION = "base"
+SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz"
+S = "${WORKDIR}/sysfsutils-${PV}"
+
+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
+}
diff --git a/sysfsutils/sysfsutils_1.2.0.oe b/sysfsutils/sysfsutils_1.2.0.oe
index e69de29bb2..86188651ca 100644
--- a/sysfsutils/sysfsutils_1.2.0.oe
+++ b/sysfsutils/sysfsutils_1.2.0.oe
@@ -0,0 +1,18 @@
+SECTION = "base"
+DESCRIPTION = "System Utilities Based on Sysfs"
+SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz"
+S = "${WORKDIR}/sysfsutils-${PV}"
+
+inherit autotools
+
+includedir += "/sysfs"
+
+PACKAGES_prepend = "libsysfs "
+FILES_libsysfs = "/usr/lib/*.so.1.0.2"
+
+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
+}