summaryrefslogtreecommitdiff
path: root/meta/packages/sysfsutils/sysfsutils_2.0.0.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-10-19 13:54:27 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-10-19 13:54:27 +0000
commitbc90283826f51b17526d5454cb50672205a63910 (patch)
treed17fed1ee46cfc6e2ddd2c5acf97961985c93930 /meta/packages/sysfsutils/sysfsutils_2.0.0.bb
parent483b058837f6c9f5d92269da56947fd522d9d1e2 (diff)
downloadopenembedded-core-bc90283826f51b17526d5454cb50672205a63910.tar.gz
openembedded-core-bc90283826f51b17526d5454cb50672205a63910.tar.bz2
openembedded-core-bc90283826f51b17526d5454cb50672205a63910.zip
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
Diffstat (limited to 'meta/packages/sysfsutils/sysfsutils_2.0.0.bb')
-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"