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
12 PKG_RELEASE
:=$(AUTORELEASE
)
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://acpica.org
/sites
/$(patsubst %-unix
,%,$(PKG_NAME
))/files
/$(PKG_SOURCE_URL
)
16 PKG_HASH
:=2511f85828820d747fa3e2c3433d3a38c22db3d9c2fd900e1a84eb4173cb5992
17 PKG_MAINTAINER
:=Philip Prindeville
<philipp@redfish-solutions.com
>
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/acpica-unix
29 DEPENDS
:=@TARGET_x86_64
30 TITLE
:=ACPI utilities
(currently acpidump
) for UNIX
31 URL
:=https
://acpica.org
/
34 define Package
/acpica-unix
/description
35 Open Source utilities for ACPI including the ACPICA Machine Language
36 (AML
) interpreter
, a simulator
, test suites
, and a compiler to
37 translate ACPI Source Language
(ASL
) into AML.
39 At this time
, only acpidump is bundled
; more might be added later.
42 define Build
/Configure
45 MAKE_VARS
+= HOST
=_LINUX
47 MAKE_PATH
:=generate
/unix
49 define Package
/acpica-unix
/install
50 $(INSTALL_DIR
) $(1)/usr
/bin
52 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/generate
/unix
/bin
/* \
56 $(eval
$(call BuildPackage
,acpica-unix
))