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.

48 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2007-2017 OpenWrt.org
  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:=dmidecode
  9. PKG_VERSION:=3.2
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_SOURCE_URL:=@SAVANNAH/$(PKG_NAME)
  13. PKG_HASH:=077006fa2da0d06d6383728112f2edef9684e9c8da56752e97cd45a11f838edd
  14. PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
  15. PKG_LICENSE:=GPL-2.0
  16. PKG_LICENSE_FILES:=LICENSE
  17. PKG_INSTALL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/dmidecode
  20. SECTION:=utils
  21. CATEGORY:=Utilities
  22. DEPENDS:=@(TARGET_x86||TARGET_x86_64)
  23. TITLE:=Displays BIOS informations.
  24. URL:=https://www.nongnu.org/dmidecode/
  25. endef
  26. define Package/dmidecode/description
  27. Dmidecode reports information about your system's hardware
  28. as described in your system BIOS according to the SMBIOS/DMI
  29. standard.
  30. endef
  31. MAKE_FLAGS += \
  32. prefix="/usr"
  33. define Package/dmidecode/install
  34. $(INSTALL_DIR) $(1)/usr/sbin
  35. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/$(PKG_NAME) $(1)/usr/sbin/
  36. endef
  37. $(eval $(call BuildPackage,dmidecode))