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 / aiccu / aiccu.mk
1 ################################################################################
2 #
3 # aiccu
4 #
5 ################################################################################
6
7 AICCU_VERSION = 20070115
8 AICCU_SOURCE = aiccu_$(AICCU_VERSION).tar.gz
9 AICCU_SITE = http://www.sixxs.net/archive/sixxs/aiccu/unix
10 AICCU_LICENSE = SixXS License, concise redistribution license
11 AICCU_LICENSE_FILES = doc/LICENSE
12 AICCU_DEPENDENCIES = gnutls
13
14 AICCU_LFDLAGS = $(TARGET_LDFLAGS)
15
16 # aiccu forgets to link with gnutls' dependencies breaking the build when
17 # linking statically
18 ifeq ($(BR2_STATIC_LIBS),y)
19 AICCU_LDFLAGS += $(shell $(PKG_CONFIG_HOST_BINARY) --static --libs gnutls)
20 endif
21
22 # dummy RPM_OPT_FLAGS to disable stripping
23 define AICCU_BUILD_CMDS
24         $(TARGET_CONFIGURE_OPTS) LDFLAGS="$(AICCU_LDFLAGS)" $(MAKE) \
25                 CC="$(TARGET_CC)" RPM_OPT_FLAGS=1 -C $(@D)/unix-console all
26 endef
27
28 define AICCU_INSTALL_TARGET_CMDS
29         $(INSTALL) -D -m 0755 $(@D)/unix-console/aiccu \
30                 $(TARGET_DIR)/usr/sbin/aiccu
31         $(INSTALL) -D -m 0644 $(@D)/doc/aiccu.conf \
32                 $(TARGET_DIR)/etc/aiccu.conf
33 endef
34
35 define AICCU_INSTALL_INIT_SYSV
36         $(INSTALL) -D -m 0755 $(@D)/doc/aiccu.init \
37                 $(TARGET_DIR)/etc/init.d/S50aiccu
38 endef
39
40 $(eval $(generic-package))