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.2 KiB

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=irqbalance
  6. PKG_VERSION:=1.2.0
  7. PKG_RELEASE:=2
  8. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  9. PKG_SOURCE_PROTO:=git
  10. PKG_SOURCE_URL:=https://github.com/Irqbalance/irqbalance.git
  11. PKG_SOURCE_VERSION:=0e0dd4cfe5464de2f81eaef504eab7183f1fb030
  12. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  13. PKG_LICENSE:=GPLv2
  14. PKG_MAINTAINER:=Hannu Nyman <hannu.nyman@iki.fi>
  15. PKG_FIXUP:=autoreconf
  16. PKG_REMOVE_FILES:=autogen.sh
  17. PKG_BUILD_PARALLEL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/irqbalance
  20. SECTION:=utils
  21. CATEGORY:=Utilities
  22. TITLE:=IRQ usage balancing for multi-core systems
  23. URL:=https://github.com/Irqbalance/irqbalance
  24. endef
  25. define Package/irqbalance/description
  26. The purpose of irqbalance is to distribute hardware interrupts across
  27. processors/cores on a multiprocessor/multicore system in order to
  28. increase performance.
  29. endef
  30. CONFIGURE_ARGS+= \
  31. --disable-numa \
  32. --with-libcap_ng=no \
  33. --with-systemd=no \
  34. --without-glib2
  35. define Package/irqbalance/install
  36. $(INSTALL_DIR) $(1)/usr/sbin
  37. $(INSTALL_BIN) $(PKG_BUILD_DIR)/irqbalance $(1)/usr/sbin/
  38. endef
  39. $(eval $(call BuildPackage,irqbalance))