summaryrefslogtreecommitdiff
path: root/package/ipmitool/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2015-02-24 12:47:02 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:14:31 +0100
commitf7cdc77825243a0387e63bad09fb19cb30c7e0ea (patch)
tree5817cbe722ddc8e775ef89e7419351687269df19 /package/ipmitool/Makefile
parent76119b98867ab73800e7d2714e1dd57e8d26cdaa (diff)
port ipmitool
Diffstat (limited to 'package/ipmitool/Makefile')
-rw-r--r--package/ipmitool/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/ipmitool/Makefile b/package/ipmitool/Makefile
new file mode 100644
index 000000000..8018b4d93
--- /dev/null
+++ b/package/ipmitool/Makefile
@@ -0,0 +1,24 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= ipmitool
+PKG_VERSION:= 1.8.11
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 0f9b4758c2b7e8a7bafc2ead113b4bc6
+PKG_DESCR:= Utility for controlling IPMI enabled devices.
+PKG_SECTION:= net/misc
+PKG_URL:= http://ipmitool.sf.net/
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ipmitool/}
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,IPMITOOL,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_IPMITOOL)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/ipmitool \
+ $(IDIR_IPMITOOL)/usr/bin
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk