SECTION = "base" DESCRIPTION = "System Utilities Based on Sysfs" HOMEPAGE = "http://linux-diag.sourceforge.net/Sysfsutils.html" SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz" S = "${WORKDIR}/sysfsutils-${PV}" LICENSE = "GPLv2" inherit autotools includedir += "/sysfs" PACKAGES_prepend = "libsysfs " FILES_libsysfs = "/usr/lib/*.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 }