1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 19:03:52 +02:00
openwrt-packages/utils/dmidecode/Makefile
Rosen Penev 43a1f1bdee
dmidecode: Update to 3.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-28 10:08:22 -07:00

49 lines
1.1 KiB
Makefile

#
# 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.2
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@SAVANNAH/$(PKG_NAME)
PKG_HASH:=077006fa2da0d06d6383728112f2edef9684e9c8da56752e97cd45a11f838edd
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
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:=https://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))