aboutsummaryrefslogtreecommitdiffstats
path: root/package/dhcpdump/dhcpdump.mk
blob: dd454bf9dcd70efc11342b234af8fa11259b98a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#############################################################
#
# 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))