The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / irqbalance / irqbalance.mk
1 ################################################################################
2 #
3 # irqbalance
4 #
5 ################################################################################
6
7 IRQBALANCE_VERSION = v1.0.9
8 IRQBALANCE_SITE = $(call github,irqbalance,irqbalance,$(IRQBALANCE_VERSION))
9 IRQBALANCE_LICENSE = GPLv2
10 IRQBALANCE_LICENSE_FILES = COPYING
11 IRQBALANCE_DEPENDENCIES = host-pkgconf
12 # Autoreconf needed because package is distributed without a configure script
13 IRQBALANCE_AUTORECONF = YES
14
15 # This would be done by the package's autogen.sh script
16 define IRQBALANCE_PRECONFIGURE
17         mkdir -p $(@D)/m4
18 endef
19
20 IRQBALANCE_PRE_CONFIGURE_HOOKS += IRQBALANCE_PRECONFIGURE
21
22 define IRQBALANCE_INSTALL_INIT_SYSV
23         $(INSTALL) -D -m 755 package/irqbalance/S13irqbalance \
24                 $(TARGET_DIR)/etc/init.d/S13irqbalance
25 endef
26
27 define IRQBALANCE_INSTALL_INIT_SYSTEMD
28         $(INSTALL) -D -m 644 package/irqbalance/irqbalance.service \
29                 $(TARGET_DIR)/usr/lib/systemd/system/irqbalance.service
30         mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
31         ln -fs ../../../../usr/lib/systemd/system/irqbalance.service \
32                 $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/irqbalance.service
33 endef
34
35 $(eval $(autotools-package))