package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / bustle / bustle.mk
blob0b85536ea9c1590164d538f7cb534ee6ba4290d5
1 ################################################################################
3 # bustle
5 ################################################################################
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
13 BUSTLE_PCAP_FLAGS = "-lpcap"
14 ifeq ($(BR2_STATIC_LIBS),y)
15 BUSTLE_PCAP_FLAGS += `$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`
16 endif
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
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
28 $(eval $(generic-package))