summaryrefslogtreecommitdiffstats
path: root/meta/packages/sysfsutils
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/sysfsutils')
-rw-r--r--meta/packages/sysfsutils/sysfsutils_2.0.0.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/packages/sysfsutils/sysfsutils_2.0.0.bb b/meta/packages/sysfsutils/sysfsutils_2.0.0.bb
new file mode 100644
index 0000000000..176c8870e4
--- /dev/null
+++ b/meta/packages/sysfsutils/sysfsutils_2.0.0.bb
@@ -0,0 +1,23 @@
1DEFAULT_PREFERENCE = "-1"
2
3SECTION = "base"
4DESCRIPTION = "System Utilities Based on Sysfs"
5HOMEPAGE = "http://linux-diag.sourceforge.net/Sysfsutils.html"
6LICENSE = "GPLv2"
7SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz"
8
9S = "${WORKDIR}/sysfsutils-${PV}"
10
11inherit autotools
12
13includedir += "/sysfs"
14
15PACKAGES_prepend = "libsysfs "
16FILES_libsysfs = "${libdir}/*.so.2.0.0"
17
18do_stage () {
19 oe_libinstall -a -so -C lib libsysfs ${STAGING_LIBDIR}
20 install -d ${STAGING_INCDIR}/sysfs
21 install -m 0644 ${S}/include/dlist.h ${STAGING_INCDIR}/sysfs
22 install -m 0644 ${S}/include/libsysfs.h ${STAGING_INCDIR}/sysfs
23}