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.

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