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.

45 lines
1.1 KiB

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