From bc90283826f51b17526d5454cb50672205a63910 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 19 Oct 2007 13:54:27 +0000 Subject: sysfsutils: split libsysfs to separate package (with dev and dbg ones) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2931 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/sysfsutils/sysfsutils_2.0.0.bb | 15 ++++++++------- 1 file 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" -- cgit v1.2.3