summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/sysfsutils/sysfsutils_1.1.0.bb14
-rw-r--r--packages/sysfsutils/sysfsutils_1.2.0.bb22
-rw-r--r--packages/sysfsutils/sysfsutils_2.0.0.bb13
3 files changed, 6 insertions, 43 deletions
diff --git a/packages/sysfsutils/sysfsutils_1.1.0.bb b/packages/sysfsutils/sysfsutils_1.1.0.bb
deleted file mode 100644
index 9168347112..0000000000
--- a/packages/sysfsutils/sysfsutils_1.1.0.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-SECTION = "base"
-SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz"
-S = "${WORKDIR}/sysfsutils-${PV}"
-LICENSE = "GPL"
-inherit autotools
-
-includedir += "/sysfs"
-
-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
-}
diff --git a/packages/sysfsutils/sysfsutils_1.2.0.bb b/packages/sysfsutils/sysfsutils_1.2.0.bb
deleted file mode 100644
index 8c70551404..0000000000
--- a/packages/sysfsutils/sysfsutils_1.2.0.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-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 \
- file://libsysfs-write-attribute.patch;patch=1"
-S = "${WORKDIR}/sysfsutils-${PV}"
-PR = "r1"
-
-inherit autotools
-
-includedir += "/sysfs"
-
-PACKAGES_prepend = "libsysfs "
-FILES_libsysfs = "${libdir}/*.so.1.0.2"
-
-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
-}
diff --git a/packages/sysfsutils/sysfsutils_2.0.0.bb b/packages/sysfsutils/sysfsutils_2.0.0.bb
index 176c8870e4..1c0bb8bbce 100644
--- a/packages/sysfsutils/sysfsutils_2.0.0.bb
+++ b/packages/sysfsutils/sysfsutils_2.0.0.bb
@@ -1,23 +1,22 @@
-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"
+PROVIDES = "libsysfs"
+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 "
+FILES_libsysfs = "${libdir}/*.so.2.0.0"
+