8dfd59d114
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
24 lines
689 B
Makefile
24 lines
689 B
Makefile
################################################################################
|
|
#
|
|
# bustle
|
|
#
|
|
################################################################################
|
|
|
|
BUSTLE_VERSION = 0.4.2
|
|
BUSTLE_SITE = http://www.willthompson.co.uk/bustle/releases/$(BUSTLE_VERSION)/
|
|
BUSTLE_LICENSE = LGPLv2.1+
|
|
BUSTLE_LICENSE_FILES = LICENSE
|
|
BUSTLE_DEPENDENCIES = libglib2 libpcap host-pkgconf
|
|
|
|
define BUSTLE_BUILD_CMDS
|
|
PATH=$(TARGET_PATH) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
PCAP_FLAGS='-lpcap' -C $(@D) dist/build/bustle-pcap
|
|
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))
|