summaryrefslogtreecommitdiff
path: root/utils/dmidecode
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2014-06-10 21:02:11 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2014-06-10 21:02:11 +0200
commitcb891adebd917c73163b54865dc6964c7375a8e9 (patch)
tree2c494f3bf8a1279cce028302fa700686273eb70c /utils/dmidecode
parent55ed66e192aa6087af89407a1e8b66235223c206 (diff)
dmidecode: Import 2.12 from packages.
Diffstat (limited to 'utils/dmidecode')
-rw-r--r--utils/dmidecode/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/utils/dmidecode/Makefile b/utils/dmidecode/Makefile
new file mode 100644
index 000000000..b728d0eb0
--- /dev/null
+++ b/utils/dmidecode/Makefile
@@ -0,0 +1,45 @@
+#
+# Copyright (C) 2007-2014 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:=2.12
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/dmidecode
+PKG_MD5SUM:=a406f3cbb27736491698697beeddb781
+PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
+
+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))