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.

52 lines
1.3 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_MIRROR_HASH:=c826e78babfc26f777a5791b2a6ea95b61453ba3e3c5803d4428cc803216bc5c
  13. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  14. PKG_LICENSE:=GPLv2
  15. PKG_MAINTAINER:=Hannu Nyman <hannu.nyman@iki.fi>
  16. PKG_FIXUP:=autoreconf
  17. PKG_REMOVE_FILES:=autogen.sh
  18. PKG_BUILD_PARALLEL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/irqbalance
  21. SECTION:=utils
  22. CATEGORY:=Utilities
  23. TITLE:=IRQ usage balancing for multi-core systems
  24. URL:=https://github.com/Irqbalance/irqbalance
  25. endef
  26. define Package/irqbalance/description
  27. The purpose of irqbalance is to distribute hardware interrupts across
  28. processors/cores on a multiprocessor/multicore system in order to
  29. increase performance.
  30. endef
  31. CONFIGURE_ARGS+= \
  32. --disable-numa \
  33. --with-libcap_ng=no \
  34. --with-systemd=no \
  35. --without-glib2
  36. define Package/irqbalance/install
  37. $(INSTALL_DIR) $(1)/usr/sbin
  38. $(INSTALL_BIN) $(PKG_BUILD_DIR)/irqbalance $(1)/usr/sbin/
  39. endef
  40. $(eval $(call BuildPackage,irqbalance))