From: florian Date: Sun, 1 Jul 2007 09:08:01 +0000 (+0000) Subject: Add dmidecode (#1776) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=1c3e6ba0494ceb01ec4142b14add8db0d1632f7d;p=packages.git Add dmidecode (#1776) git-svn-id: svn://svn.openwrt.org/openwrt/packages@7817 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/utils/dmidecode/Makefile b/utils/dmidecode/Makefile new file mode 100644 index 000000000..00af61501 --- /dev/null +++ b/utils/dmidecode/Makefile @@ -0,0 +1,41 @@ +# +# Copyright (C) 2007 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $ Id: $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=dmidecode +PKG_VERSION:=2.9 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/dmidecode/ +PKG_MD5SUM:=3dac4b1817012ffebd78671473d8f56c +PKG_CAT:=bzcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/dmidecode + SECTION:=utils + CATEGORY:=Utilities + DEPENDS:=@LINUX_2_6_X86 + TITLE:=Displays BIOS informations. + DESCRIPTION:=\ + Dmidecode reports information about your system's hardware\\\ + as described in your system BIOS according to the SMBIOS/DMI\\\ + standard. + URL:=http://www.nongnu.org/dmidecode/ +endef + +define Package/dmidecode/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin +endef + +$(eval $(call BuildPackage,dmidecode))