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