diff options
Diffstat (limited to 'meta/packages/sysfsutils/sysfsutils_2.0.0.bb')
-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" | ||