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 / bustle / bustle.mk
1 ################################################################################
2 #
3 # bustle
4 #
5 ################################################################################
6
7 BUSTLE_VERSION = 0.4.3
8 BUSTLE_SITE = http://www.willthompson.co.uk/bustle/releases/$(BUSTLE_VERSION)
9 BUSTLE_LICENSE = LGPLv2.1+
10 BUSTLE_LICENSE_FILES = LICENSE
11 BUSTLE_DEPENDENCIES = libglib2 libpcap host-pkgconf
12
13 BUSTLE_PCAP_FLAGS = "-lpcap"
14 ifeq ($(BR2_STATIC_LIBS),y)
15 BUSTLE_PCAP_FLAGS += $(shell $(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs)
16 endif
17
18 define BUSTLE_BUILD_CMDS
19         $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
20                 PCAP_FLAGS="$(BUSTLE_PCAP_FLAGS)" -C $(@D) dist/build/bustle-pcap
21 endef
22
23 define BUSTLE_INSTALL_TARGET_CMDS
24         $(INSTALL) -m 0755 -D $(@D)/dist/build/bustle-pcap \
25                 $(TARGET_DIR)/usr/bin/bustle-pcap
26 endef
27
28 $(eval $(generic-package))