Add dmidecode (#1776)
[openwrt/svn-archive/archive.git] / utils / dmidecode / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $ Id: $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=dmidecode
12 PKG_VERSION:=2.9
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/dmidecode/
17 PKG_MD5SUM:=3dac4b1817012ffebd78671473d8f56c
18 PKG_CAT:=bzcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/dmidecode
25 SECTION:=utils
26 CATEGORY:=Utilities
27 DEPENDS:=@LINUX_2_6_X86
28 TITLE:=Displays BIOS informations.
29 DESCRIPTION:=\
30 Dmidecode reports information about your system's hardware\\\
31 as described in your system BIOS according to the SMBIOS/DMI\\\
32 standard.
33 URL:=http://www.nongnu.org/dmidecode/
34 endef
35
36 define Package/dmidecode/install
37 $(INSTALL_DIR) $(1)/usr/sbin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin
39 endef
40
41 $(eval $(call BuildPackage,dmidecode))