summaryrefslogtreecommitdiffstats
path: root/meta/packages
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
parent483b058837f6c9f5d92269da56947fd522d9d1e2 (diff)
downloadpoky-bc90283826f51b17526d5454cb50672205a63910.tar.gz
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')
-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 @@
1DEFAULT_PREFERENCE = "-1"
2
3SECTION = "base"
4DESCRIPTION = "System Utilities Based on Sysfs" 1DESCRIPTION = "System Utilities Based on Sysfs"
5HOMEPAGE = "http://linux-diag.sourceforge.net/Sysfsutils.html" 2HOMEPAGE = "http://linux-diag.sourceforge.net/Sysfsutils.html"
6LICENSE = "GPLv2" 3LICENSE = "GPLv2"
7SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz" 4PR = "r2"
8 5
6SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz"
9S = "${WORKDIR}/sysfsutils-${PV}" 7S = "${WORKDIR}/sysfsutils-${PV}"
10 8
11inherit autotools 9inherit autotools
12 10
13includedir += "/sysfs" 11includedir += "/sysfs"
14 12
15# PACKAGES_prepend = "libsysfs "
16# FILES_libsysfs = "${libdir}/*.so.2.0.0"
17
18do_stage () { 13do_stage () {
19 oe_libinstall -a -so -C lib libsysfs ${STAGING_LIBDIR} 14 oe_libinstall -a -so -C lib libsysfs ${STAGING_LIBDIR}
20 install -d ${STAGING_INCDIR}/sysfs 15 install -d ${STAGING_INCDIR}/sysfs
21 install -m 0644 ${S}/include/dlist.h ${STAGING_INCDIR}/sysfs 16 install -m 0644 ${S}/include/dlist.h ${STAGING_INCDIR}/sysfs
22 install -m 0644 ${S}/include/libsysfs.h ${STAGING_INCDIR}/sysfs 17 install -m 0644 ${S}/include/libsysfs.h ${STAGING_INCDIR}/sysfs
23} 18}
19
20PACKAGES_prepend = "libsysfs libsysfs-dbg libsysfs-dev "
21FILES_libsysfs = "${libdir}/*.so.*"
22FILES_libsysfs-dev = "${libdir}/* ${includedir}"
23FILES_libsysfs-dbg = "${libdir}/.debug"
24FILES_${PN}-dbg = "${bindir}/.debug"