summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 @@
-DEFAULT_PREFERENCE = "-1"
-
-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"
+PR = "r2"
+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
}
+
+PACKAGES_prepend = "libsysfs libsysfs-dbg libsysfs-dev "
+FILES_libsysfs = "${libdir}/*.so.*"
+FILES_libsysfs-dev = "${libdir}/* ${includedir}"
+FILES_libsysfs-dbg = "${libdir}/.debug"
+FILES_${PN}-dbg = "${bindir}/.debug"