kumquat-buildroot/package/bustle/bustle.mk
Samuel Martin 3d93589c8f bustle: use TARGET_MAKE_ENV instead of setting PATH in the make environment
TARGET_MAKE_ENV already contains the PATH definition among other useful
variables.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-03-01 23:46:15 +01:00

24 lines
688 B
Makefile

################################################################################
#
# bustle
#
################################################################################
BUSTLE_VERSION = 0.4.3
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
$(TARGET_MAKE_ENV) $(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))