summaryrefslogtreecommitdiff
path: root/packages/sysfsutils/sysfsutils_1.2.0.bb
blob: 8c7055140416f76b3bf3f12d80bd98bd3be080b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 \
	   file://libsysfs-write-attribute.patch;patch=1"
S = "${WORKDIR}/sysfsutils-${PV}"
PR = "r1"

inherit autotools

includedir += "/sysfs"

PACKAGES_prepend = "libsysfs "
FILES_libsysfs = "${libdir}/*.so.1.0.2"

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
}