[packages] flashrom: update source url, use PKG_INSTALL & MAKE_FLAGS, refresh patches
[openwrt/svn-archive/archive.git] / utils / ipmitool / Makefile
1 # Copyright (C) 2008-2010, OpenWrt.org
2 #
3
4 include $(TOPDIR)/rules.mk
5
6 PKG_NAME:=ipmitool
7 PKG_VERSION:=1.8.11
8 PKG_RELEASE:=2
9
10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
11 PKG_SOURCE_URL:=@SF/ipmitool
12 PKG_MD5SUM:=1d0da20add7388d64c549f95538b6858
13
14 PKG_FIXUP:=libtool
15
16 include $(INCLUDE_DIR)/package.mk
17
18 define Package/ipmitool
19 SECTION:=utils
20 CATEGORY:=Utilities
21 DEPENDS:=+libopenssl
22 TITLE:=IPMI remote computer management utility
23 URL:=http://ipmitool.sourceforge.net/
24 endef
25
26 define Package/ipmitool/description
27 IPMItool is a utility for managing and configuring devices
28 that support the Intelligent Platform Management Interface
29 (IPMI) version 1.5 and version 2.0 specifications.
30 endef
31
32 CONFIGURE_ARGS += \
33 --enable-static=no \
34 --enable-internal-md5 \
35 --enable-intf-lan=yes \
36 --enable-intf-lanplus=no \
37 --enable-intf-free=no \
38 --enable-intf-open=no \
39 --enable-intf-imb=no \
40 --enable-intf-lipmi=no \
41 --enable-intf-bmc=no
42
43 define Package/ipmitool/install
44 $(INSTALL_DIR) $(1)/usr/sbin
45 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ipmitool $(1)/usr/sbin/
46 endef
47
48 $(eval $(call BuildPackage,ipmitool))
49