summaryrefslogtreecommitdiff
path: root/openembedded/packages/sysfsutils/sysfsutils_1.1.0.bb
blob: 91683471121523179b0ed79a8f7ef9fef11f4991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
SECTION = "base"
SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz"
S = "${WORKDIR}/sysfsutils-${PV}"
LICENSE = "GPL"
inherit autotools

includedir += "/sysfs"

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
}