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