Upgrade shorewall (#3661)
[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
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/dmidecode
24 SECTION:=utils
25 CATEGORY:=Utilities
26 DEPENDS:=@TARGET_x86
27 TITLE:=Displays BIOS informations.
28 URL:=http://www.nongnu.org/dmidecode/
29 endef
30
31 define Package/dmidecode/description
32 Dmidecode reports information about your system's hardware
33 as described in your system BIOS according to the SMBIOS/DMI
34 standard.
35 endef
36
37 define Package/dmidecode/install
38 $(INSTALL_DIR) $(1)/usr/sbin
39 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin
40 endef
41
42 $(eval $(call BuildPackage,dmidecode))