# # Copyright (C) 2007-2017 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # include $(TOPDIR)/rules.mk PKG_NAME:=dmidecode PKG_VERSION:=3.1 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@SAVANNAH/$(PKG_NAME) PKG_HASH:=d766ce9b25548c59b1e7e930505b4cad9a7bb0b904a1a391fbb604d529781ac0 PKG_MAINTAINER:=Álvaro Fernández Rojas PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:=LICENSE PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk define Package/dmidecode SECTION:=utils CATEGORY:=Utilities DEPENDS:=@(TARGET_x86||TARGET_x86_64) TITLE:=Displays BIOS informations. URL:=http://www.nongnu.org/dmidecode/ endef define Package/dmidecode/description Dmidecode reports information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard. endef MAKE_FLAGS += \ prefix="/usr" define Package/dmidecode/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/$(PKG_NAME) $(1)/usr/sbin/ endef $(eval $(call BuildPackage,dmidecode))