478bd88fa975f566f749575d65c4fa0e288768d5
[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 URL:=http://www.nongnu.org/dmidecode/
30 endef
31
32 define Package/dmidecode/description
33 Dmidecode reports information about your system's hardware
34 as described in your system BIOS according to the SMBIOS/DMI
35 standard.
36 endef
37
38 define Package/dmidecode/install
39 $(INSTALL_DIR) $(1)/usr/sbin
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin
41 endef
42
43 $(eval $(call BuildPackage,dmidecode))