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.

51 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:=5
  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. PKG_CPE_ID:=cpe:/a:ipmitool_project:ipmitool
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/ipmitool
  19. SECTION:=admin
  20. CATEGORY:=Administration
  21. DEPENDS:=+libopenssl +libncurses +libreadline
  22. TITLE:=Command-line interface to IPMI-enabled devices
  23. URL:=https://github.com/ipmitool/ipmitool
  24. MAINTAINER:=Alexander Couzens <lynxis@fe80.eu>
  25. endef
  26. define Package/ipmitool/Default/description
  27. Command-line interface to IPMI-enabled devices
  28. endef
  29. define Package/ipmitool/install
  30. $(INSTALL_DIR) $(1)/usr/sbin/
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ipmievd $(1)/usr/sbin/
  32. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ipmitool $(1)/usr/sbin/
  33. endef
  34. CONFIGURE_ARGS += \
  35. --enable-intf-lan \
  36. --enable-intf-lanplus \
  37. --enable-intf-serial \
  38. --enable-intf-free \
  39. --enable-intf-open \
  40. --enable-intf-imb \
  41. --enable-ipmishell
  42. $(eval $(call BuildPackage,ipmitool))