You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.4 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=acpica-unix
  9. PKG_VERSION:=20170929
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://acpica.org/sites/$(subst -unix,,$(PKG_NAME))/files/$(PKG_SOURCE_URL)
  13. PKG_HASH:=c786868ae6c7a4c7bca19a5ca66bfb16740cad5c1c01b21642932f2f0dea9cc8
  14. PKG_MAINTAINER:=Philip Prindeville <philipp@redfish-solutions.com>
  15. PKG_LICENSE:=GPL-2.0
  16. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
  17. PKG_FORTIFY_SOURCE:=0
  18. PKG_BUILD_PARALLEL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/acpica-unix
  21. SECTION:=utils
  22. CATEGORY:=Utilities
  23. DEPENDS:=@TARGET_x86_64
  24. TITLE:=ACPI utilities (currently acpidump) for UNIX
  25. URL:=https://acpica.org/
  26. endef
  27. define Package/acpica-unix/description
  28. Open Source utilities for ACPI including the ACPICA Machine Language
  29. (AML) interpreter, a simulator, test suites, and a compiler to
  30. translate ACPI Source Language (ASL) into AML.
  31. At this time, only acpidump is bundled; more might be added later.
  32. endef
  33. define Build/Configure
  34. endef
  35. MAKE_VARS += HOST=_LINUX
  36. MAKE_PATH:=generate/unix
  37. define Package/acpica-unix/install
  38. $(INSTALL_DIR) $(1)/usr/bin
  39. $(INSTALL_BIN) $(PKG_BUILD_DIR)/generate/unix/acpidump/obj/acpidump $(1)/usr/bin/
  40. endef
  41. $(eval $(call BuildPackage,acpica-unix))