1 ################################################################################
5 ################################################################################
8 DHCPCD_SOURCE = dhcpcd-$(DHCPCD_VERSION).tar.bz2
9 DHCPCD_SITE = http://roy.marples.name/downloads/dhcpcd
10 DHCPCD_DEPENDENCIES = host-pkgconf
11 DHCPCD_LICENSE = BSD-2c
13 ifeq ($(BR2_INET_IPV6),)
14 DHCPCD_CONFIG_OPTS += --disable-ipv6
17 ifeq ($(BR2_STATIC_LIBS),y)
18 DHCPCD_CONFIG_OPTS += --enable-static
21 ifeq ($(BR2_USE_MMU),)
22 DHCPCD_CONFIG_OPTS += --disable-fork
25 define DHCPCD_CONFIGURE_CMDS
27 $(TARGET_CONFIGURE_OPTS) ./configure \
29 $(DHCPCD_CONFIG_OPTS) )
32 define DHCPCD_BUILD_CMDS
33 $(TARGET_MAKE_ENV) $(MAKE) \
37 define DHCPCD_INSTALL_TARGET_CMDS
38 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR)
41 # NOTE: Even though this package has a configure script, it is not generated
42 # using the autotools, so we have to use the generic package infrastructure.
44 $(eval $(generic-package))