2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-01-22 15:55:55 +01:00
|
|
|
#
|
|
|
|
# bustle
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-01-22 15:55:55 +01:00
|
|
|
|
2017-05-21 20:28:38 +02:00
|
|
|
BUSTLE_VERSION = 0.5.4
|
2014-07-31 10:46:58 +02:00
|
|
|
BUSTLE_SITE = http://www.willthompson.co.uk/bustle/releases/$(BUSTLE_VERSION)
|
2017-03-30 15:43:34 +02:00
|
|
|
BUSTLE_LICENSE = LGPL-2.1+
|
2013-01-22 15:55:55 +01:00
|
|
|
BUSTLE_LICENSE_FILES = LICENSE
|
|
|
|
BUSTLE_DEPENDENCIES = libglib2 libpcap host-pkgconf
|
|
|
|
|
2014-04-27 10:10:40 +02:00
|
|
|
BUSTLE_PCAP_FLAGS = "-lpcap"
|
2014-12-03 22:41:29 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
2015-07-12 16:35:26 +02:00
|
|
|
BUSTLE_PCAP_FLAGS += `$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`
|
2014-04-27 10:10:40 +02:00
|
|
|
endif
|
|
|
|
|
2013-01-22 15:55:55 +01:00
|
|
|
define BUSTLE_BUILD_CMDS
|
2014-03-01 20:59:08 +01:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
2014-04-27 10:10:40 +02:00
|
|
|
PCAP_FLAGS="$(BUSTLE_PCAP_FLAGS)" -C $(@D) dist/build/bustle-pcap
|
2013-01-22 15:55:55 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define BUSTLE_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 0755 -D $(@D)/dist/build/bustle-pcap \
|
|
|
|
$(TARGET_DIR)/usr/bin/bustle-pcap
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|