2 # Copyright (C) 2017 Philip Prindeville
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://acpica.org
/sites
/$(subst -unix
,,$(PKG_NAME
))/files
/$(PKG_SOURCE_URL
)
16 PKG_HASH
:=6f9a37125bbb07c0a90fa25b59153b2774f6abe0e43eb1ddde852e43b21939ab
17 PKG_MAINTAINER
:=Philip Prindeville
<philipp@redfish-solutions.com
>
21 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/acpica-unix
30 DEPENDS
:=@TARGET_x86_64
31 TITLE
:=ACPI utilities for UNIX
32 URL
:=https
://acpica.org
/
35 define Package
/acpica-unix
/description
36 Open Source utilities for ACPI including the ACPICA Machine Language
37 (AML
) interpreter
, a simulator
, test suites
, and a compiler to
38 translate ACPI Source Language
(ASL
) into AML.
41 define Build
/Configure
44 MAKE_VARS
+= HOST
=_LINUX
46 MAKE_PATH
:=generate
/unix
48 define Package
/acpica-unix
/install
49 $(INSTALL_DIR
) $(1)/usr
/bin
50 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/generate
/unix
/acpidump
/obj
/acpidump
$(1)/usr
/bin
/
53 $(eval
$(call BuildPackage
,acpica-unix
))