2f439035ac4ce3d3766bff54b1abfd6377690046
[packages.git] / utils / dmidecode / Makefile
1
2 # Copyright (C) 2007-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=dmidecode
11 PKG_VERSION:=2.10
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/dmidecode/
16 PKG_MD5SUM:=3c9c4d55a40b78600f3b43bfa64616f9
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/dmidecode
23   SECTION:=utils
24   CATEGORY:=Utilities
25   DEPENDS:=@TARGET_x86
26   TITLE:=Displays BIOS informations.
27   URL:=http://www.nongnu.org/dmidecode/
28 endef
29
30 define Package/dmidecode/description
31         Dmidecode reports information about your system's hardware
32         as described in your system BIOS according to the SMBIOS/DMI
33         standard.
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))