2024-09-09 08:57:42 +00:00
|
|
|
SUMMARY = "ACPI data gathering library"
|
2024-09-09 08:52:07 +00:00
|
|
|
DESCRIPTION = "General purpose shared library for programs gathering ACPI data on Linux. \
|
|
|
|
Thermal zones, battery infomration, fan information and AC states are implemented."
|
|
|
|
SECTION = "base"
|
|
|
|
HOMEPAGE = "http://www.ngolde.de/libacpi.html"
|
|
|
|
LICENSE = "MIT"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=fec17f82f16630adf2dfb7d2a46f21c5"
|
2024-09-09 08:57:42 +00:00
|
|
|
PR = "r6"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \
|
|
|
|
file://makefile-fix.patch \
|
|
|
|
file://libacpi_fix_for_x32.patch \
|
2024-09-09 08:57:42 +00:00
|
|
|
file://use_correct_strip_in_cross_environment.patch \
|
|
|
|
file://ldflags.patch "
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
SRC_URI[md5sum] = "05b53dd7bead66dda35fec502b91066c"
|
|
|
|
SRC_URI[sha256sum] = "13086e31d428b9c125954d48ac497b754bbbce2ef34ea29ecd903e82e25bad29"
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
inherit lib_package
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)'
|
|
|
|
|
|
|
|
CFLAGS += "-fPIC"
|
2024-09-09 08:57:42 +00:00
|
|
|
EXTRA_OEMAKE += 'STRIP="echo"'
|
|
|
|
|
|
|
|
TARGET_CC_ARCH += "${LDFLAGS}"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
oe_runmake install DESTDIR=${D} PREFIX=${exec_prefix}
|
|
|
|
}
|