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
|
|
|
|
2020-12-23 12:33:54 +01:00
|
|
|
BUSTLE_VERSION = 0.8.0
|
|
|
|
BUSTLE_SITE = https://hackage.haskell.org/package/bustle-$(BUSTLE_VERSION)
|
|
|
|
BUSTLE_LICENSE = LGPL-2.1+
|
2013-01-22 15:55:55 +01:00
|
|
|
BUSTLE_LICENSE_FILES = LICENSE
|
|
|
|
BUSTLE_DEPENDENCIES = libglib2 libpcap host-pkgconf
|
2021-01-04 07:54:52 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
|
BUSTLE_MAKE_OPTS += PCAP_CONFIG="$(STAGING_DIR)/usr/bin/pcap-config --static"
|
|
|
|
else
|
|
|
|
BUSTLE_MAKE_OPTS += PCAP_CONFIG="$(STAGING_DIR)/usr/bin/pcap-config"
|
|
|
|
endif
|
2014-04-27 10:10:40 +02:00
|
|
|
|
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) \
|
2020-12-23 12:33:54 +01:00
|
|
|
$(BUSTLE_MAKE_OPTS) -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))
|