Merge pull request #4525 from dibdot/adblock
[feed/packages.git] / utils / acpica-unix / Makefile
1 #
2 # Copyright (C) 2017 Philip Prindeville
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=acpica-unix
11 PKG_VERSION:=20170531
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://acpica.org/sites/$(subst -unix,,$(PKG_NAME))/files/
16 PKG_HASH:=50155778cd1633dfca3443b8f8fd1ccc30e70e55ddece4d3c4fceafbbf1ab0e8
17 PKG_MAINTAINER:=Philip Prindeville <philipp@redfish-solutions.com>
18
19 PKG_LICENSE:=GPL-2.0
20
21 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
22 PKG_FORTIFY_SOURCE:=0
23
24 include $(INCLUDE_DIR)/package.mk
25
26 define Package/acpica-unix
27 SECTION:=utils
28 CATEGORY:=Utilities
29 DEPENDS:=
30 TITLE:=ACPI utilities for UNIX
31 URL:=https://acpica.org/
32 endef
33
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.
38 endef
39
40 define Build/Configure
41 endef
42
43 MAKE_VARS += HOST=_LINUX
44
45 MAKE_PATH:=generate/unix
46
47 define Package/acpica-unix/install
48 $(INSTALL_DIR) $(1)/usr/bin
49 $(INSTALL_BIN) $(PKG_BUILD_DIR)/generate/unix/acpidump/obj/acpidump $(1)/usr/bin/
50 endef
51
52 $(eval $(call BuildPackage,acpica-unix))