noddos: Noddos v0.5.0 with mDNS / DNS-SD support
[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:=20170629
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/$(PKG_SOURCE_URL)
16 PKG_HASH:=5f05d8f63d60888d7450f090ce270ef7ed026de9293ce9f6d04fe99cbbb77635
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 PKG_BUILD_PARALLEL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/acpica-unix
28 SECTION:=utils
29 CATEGORY:=Utilities
30 DEPENDS:=
31 TITLE:=ACPI utilities for UNIX
32 URL:=https://acpica.org/
33 endef
34
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.
39 endef
40
41 define Build/Configure
42 endef
43
44 MAKE_VARS += HOST=_LINUX
45
46 MAKE_PATH:=generate/unix
47
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/
51 endef
52
53 $(eval $(call BuildPackage,acpica-unix))