From cedc9241954c05fb027eb432b5695fce03527cfa Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Sat, 7 Jun 2008 09:31:55 +0000 Subject: sysfsutils: update to latest version 2.1.0 * add mnt patch from debian * reorganize packages --- packages/sysfsutils/sysfsutils_2.1.0.bb | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 packages/sysfsutils/sysfsutils_2.1.0.bb (limited to 'packages/sysfsutils/sysfsutils_2.1.0.bb') diff --git a/packages/sysfsutils/sysfsutils_2.1.0.bb b/packages/sysfsutils/sysfsutils_2.1.0.bb new file mode 100644 index 0000000000..52c777910a --- /dev/null +++ b/packages/sysfsutils/sysfsutils_2.1.0.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "System Utilities Based on Sysfs" +HOMEPAGE = "http://linux-diag.sourceforge.net/Sysfsutils.html" +LICENSE = "GPLv2" +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz \ + file://get_mnt_path_check.patch;patch=1" + +S = "${WORKDIR}/sysfsutils-${PV}" + +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 +} + +PACKAGES = "libsysfs libsysfs-dbg libsysfs-dev \ + ${PN} ${PN}-dbg ${PN}-doc ${PN}-locale" + +FILES_libsysfs = "${libdir}/*.so.*" +FILES_libsysfs-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \ + ${libdir}/*.a ${libdir}/*.o " +FILES_libsysfs-dbg += "${libdir}/.debug" +FILES_${PN}-dbg += "${bindir}/.debug" + -- cgit v1.2.3