diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-19 13:54:27 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-19 13:54:27 +0000 |
commit | bc90283826f51b17526d5454cb50672205a63910 (patch) | |
tree | d17fed1ee46cfc6e2ddd2c5acf97961985c93930 /meta/packages | |
parent | 483b058837f6c9f5d92269da56947fd522d9d1e2 (diff) | |
download | poky-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.bb | 15 |
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 @@ | |||
1 | DEFAULT_PREFERENCE = "-1" | ||
2 | |||
3 | SECTION = "base" | ||
4 | DESCRIPTION = "System Utilities Based on Sysfs" | 1 | DESCRIPTION = "System Utilities Based on Sysfs" |
5 | HOMEPAGE = "http://linux-diag.sourceforge.net/Sysfsutils.html" | 2 | HOMEPAGE = "http://linux-diag.sourceforge.net/Sysfsutils.html" |
6 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz" | 4 | PR = "r2" |
8 | 5 | ||
6 | SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz" | ||
9 | S = "${WORKDIR}/sysfsutils-${PV}" | 7 | S = "${WORKDIR}/sysfsutils-${PV}" |
10 | 8 | ||
11 | inherit autotools | 9 | inherit autotools |
12 | 10 | ||
13 | includedir += "/sysfs" | 11 | includedir += "/sysfs" |
14 | 12 | ||
15 | # PACKAGES_prepend = "libsysfs " | ||
16 | # FILES_libsysfs = "${libdir}/*.so.2.0.0" | ||
17 | |||
18 | do_stage () { | 13 | do_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 | |||
20 | PACKAGES_prepend = "libsysfs libsysfs-dbg libsysfs-dev " | ||
21 | FILES_libsysfs = "${libdir}/*.so.*" | ||
22 | FILES_libsysfs-dev = "${libdir}/* ${includedir}" | ||
23 | FILES_libsysfs-dbg = "${libdir}/.debug" | ||
24 | FILES_${PN}-dbg = "${bindir}/.debug" | ||