You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2017 Alexander Couzens <lynxis@fe80.eu>
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=ipmitool
  9. PKG_VERSION:=1.8.18
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  12. PKG_SOURCE_URL:=@SF/$(PKG_NAME)
  13. PKG_HASH:=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
  14. PKG_LICENSE:=BSD-3-clause
  15. PKG_LICENSE_FILES:=COPYING
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/ipmitool
  18. SECTION:=admin
  19. CATEGORY:=Administration
  20. DEPENDS:=+libopenssl +libncurses +libreadline
  21. TITLE:=Command-line interface to IPMI-enabled devices
  22. URL:=http://sourceforge.net/projects/ipmitool/
  23. MAINTAINER:=Alexander Couzens <lynxis@fe80.eu>
  24. endef
  25. define Package/ipmitool/Default/description
  26. Command-line interface to IPMI-enabled devices
  27. endef
  28. define Package/ipmitool/install
  29. $(INSTALL_DIR) $(1)/usr/sbin/
  30. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ipmievd $(1)/usr/sbin/
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ipmitool $(1)/usr/sbin/
  32. endef
  33. define Package/ipmitool/conffiles
  34. endef
  35. CONFIGURE_ARGS += \
  36. --enable-intf-lan \
  37. --enable-intf-lanplus \
  38. --enable-intf-serial \
  39. --enable-intf-free \
  40. --enable-intf-open \
  41. --enable-intf-imb \
  42. --enable-ipmishell
  43. $(eval $(call BuildPackage,ipmitool))