![Fabrice Fontaine](/assets/img/avatar_default.png)
- Update license hash and remove GPL-3.0:c3f2f160c5
- Use PCAP_CONFIG which is available since7e2daf2984
- Update indentation in hash file (two spaces) https://hackage.haskell.org/package/bustle-0.8.0/changelog Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
25 lines
750 B
Makefile
25 lines
750 B
Makefile
################################################################################
|
|
#
|
|
# bustle
|
|
#
|
|
################################################################################
|
|
|
|
BUSTLE_VERSION = 0.8.0
|
|
BUSTLE_SITE = https://hackage.haskell.org/package/bustle-$(BUSTLE_VERSION)
|
|
BUSTLE_LICENSE = LGPL-2.1+
|
|
BUSTLE_LICENSE_FILES = LICENSE
|
|
BUSTLE_DEPENDENCIES = libglib2 libpcap host-pkgconf
|
|
BUSTLE_MAKE_OPTS = PCAP_CONFIG=$(STAGING_DIR)/usr/bin/pcap-config
|
|
|
|
define BUSTLE_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
$(BUSTLE_MAKE_OPTS) -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))
|