diff options
Diffstat (limited to 'meta/packages/sysfsutils')
-rw-r--r-- | meta/packages/sysfsutils/sysfsutils_2.0.0.bb | 23 |
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 @@ | |||
1 | DEFAULT_PREFERENCE = "-1" | ||
2 | |||
3 | SECTION = "base" | ||
4 | DESCRIPTION = "System Utilities Based on Sysfs" | ||
5 | HOMEPAGE = "http://linux-diag.sourceforge.net/Sysfsutils.html" | ||
6 | LICENSE = "GPLv2" | ||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz" | ||
8 | |||
9 | S = "${WORKDIR}/sysfsutils-${PV}" | ||
10 | |||
11 | inherit autotools | ||
12 | |||
13 | includedir += "/sysfs" | ||
14 | |||
15 | PACKAGES_prepend = "libsysfs " | ||
16 | FILES_libsysfs = "${libdir}/*.so.2.0.0" | ||
17 | |||
18 | do_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 | } | ||