diff options
Diffstat (limited to 'meta/recipes-bsp/libacpi/libacpi_0.2.bb')
-rw-r--r-- | meta/recipes-bsp/libacpi/libacpi_0.2.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-bsp/libacpi/libacpi_0.2.bb b/meta/recipes-bsp/libacpi/libacpi_0.2.bb new file mode 100644 index 0000000000..f4c323d18b --- /dev/null +++ b/meta/recipes-bsp/libacpi/libacpi_0.2.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | SUMMARY = "ACPI data gathering library." | ||
2 | DESCRIPTION = "General purpose shared library for programs gathering ACPI data on Linux. \ | ||
3 | Thermal zones, battery infomration, fan information and AC states are implemented." | ||
4 | SECTION = "base" | ||
5 | HOMEPAGE = "http://www.ngolde.de/libacpi.html" | ||
6 | LICENSE = "MIT" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fec17f82f16630adf2dfb7d2a46f21c5" | ||
8 | PR = "r6" | ||
9 | |||
10 | SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \ | ||
11 | file://makefile-fix.patch \ | ||
12 | file://libacpi_fix_for_x32.patch \ | ||
13 | file://use_correct_strip_in_cross_environment.patch \ | ||
14 | file://ldflags.patch " | ||
15 | |||
16 | SRC_URI[md5sum] = "05b53dd7bead66dda35fec502b91066c" | ||
17 | SRC_URI[sha256sum] = "13086e31d428b9c125954d48ac497b754bbbce2ef34ea29ecd903e82e25bad29" | ||
18 | |||
19 | inherit lib_package | ||
20 | |||
21 | COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)' | ||
22 | |||
23 | CFLAGS += "-fPIC" | ||
24 | EXTRA_OEMAKE += 'STRIP="echo"' | ||
25 | |||
26 | do_install() { | ||
27 | oe_runmake install DESTDIR=${D} PREFIX=${exec_prefix} | ||
28 | } | ||