summaryrefslogtreecommitdiff
path: root/packages/sysfsutils
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-04-18 12:43:11 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-18 12:43:11 +0000
commit8bf0a986fbfd637cc27bda85464e41fe49c48157 (patch)
tree9c70ca1245a270cfd8f95a13a5ce2b01933fb1f8 /packages/sysfsutils
parent957a9f587b34bf699cc2ecfcfd61bd3b8dcc74bd (diff)
sysfsutils: update to the latest stable version (2.0)
Diffstat (limited to 'packages/sysfsutils')
-rw-r--r--packages/sysfsutils/sysfsutils_2.0.0.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/sysfsutils/sysfsutils_2.0.0.bb b/packages/sysfsutils/sysfsutils_2.0.0.bb
new file mode 100644
index 0000000000..1070cfefa0
--- /dev/null
+++ b/packages/sysfsutils/sysfsutils_2.0.0.bb
@@ -0,0 +1,21 @@
+SECTION = "base"
+DESCRIPTION = "System Utilities Based on Sysfs"
+HOMEPAGE = "http://linux-diag.sourceforge.net/Sysfsutils.html"
+LICENSE = "GPLv2"
+SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz"
+
+S = "${WORKDIR}/sysfsutils-${PV}"
+
+inherit autotools
+
+includedir += "/sysfs"
+
+PACKAGES_prepend = "libsysfs "
+FILES_libsysfs = "${libdir}/*.so.2.0.0"
+
+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
+}