aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/devicekit/libatasmart_0.13.bb
blob: 992ff3ebbee46c1cdea7f5d3627f7f0a21c1f720 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DEPENDS = "udev"
LICENSE = "LGPL"

SRCREV = "a80d7d5c25e88adea7b8e843cdb57143e6cfb46b"
SRC_URI = "git://git.0pointer.de/libatasmart.git;protocol=git"

S = "${WORKDIR}/git"
PR = "r1"

inherit autotools lib_package

do_compile_prepend() {
	rm strpool -f
	${BUILD_CC} -o strpool strpool.c
	chmod +x strpool
}

do_install_append() {
	sed -i -e s://:/:g -e s:${base_libdir}/libudev.la:-ludev:g ${D}${libdir}/libatasmart.la
}