95cf21ef8c
dhcpdump 1.7 required tcpdump, but version 1.8 now uses libpcap instead. Also version 1.8 is no longer autotools based, but just a simple Makefile. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
544 B
Makefile
22 lines
544 B
Makefile
#############################################################
|
|
#
|
|
# dhcpdump
|
|
#
|
|
#############################################################
|
|
|
|
DHCPDUMP_VERSION = 1.8
|
|
DHCPDUMP_SITE = http://www.mavetju.org/download/
|
|
DHCPDUMP_SOURCE = dhcpdump-$(DHCPDUMP_VERSION).tar.gz
|
|
|
|
DHCPDUMP_DEPENDENCIES = libpcap
|
|
|
|
define DHCPDUMP_BUILD_CMDS
|
|
$(MAKE) -C $(@D) CC="$(TARGET_CC) $(TARGET_CFLAGS)"
|
|
endef
|
|
|
|
define DHCPDUMP_INSTALL_TARGET_CMDS
|
|
install -m 0755 -D $(@D)/dhcpdump $(TARGET_DIR)/usr/bin/dhcpdump
|
|
endef
|
|
|
|
$(eval $(call GENTARGETS,package,dhcpdump))
|