1 ################################################################################
5 ################################################################################
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
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)
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
23 define BUSTLE_INSTALL_TARGET_CMDS
24 $(INSTALL) -m 0755 -D $(@D)/dist/build/bustle-pcap \
25 $(TARGET_DIR)/usr/bin/bustle-pcap
28 $(eval $(generic-package))