The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / dhcpcd / dhcpcd.mk
1 ################################################################################
2 #
3 # dhcpcd
4 #
5 ################################################################################
6
7 DHCPCD_VERSION = 6.8.1
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
12
13 ifeq ($(BR2_STATIC_LIBS),y)
14 DHCPCD_CONFIG_OPTS += --enable-static
15 endif
16
17 ifeq ($(BR2_USE_MMU),)
18 DHCPCD_CONFIG_OPTS += --disable-fork
19 endif
20
21 define DHCPCD_CONFIGURE_CMDS
22         (cd $(@D); \
23         $(TARGET_CONFIGURE_OPTS) ./configure \
24                 --os=linux \
25                 $(DHCPCD_CONFIG_OPTS) )
26 endef
27
28 define DHCPCD_BUILD_CMDS
29         $(TARGET_MAKE_ENV) $(MAKE) \
30                 -C $(@D) all
31 endef
32
33 define DHCPCD_INSTALL_TARGET_CMDS
34         $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR)
35 endef
36
37 # NOTE: Even though this package has a configure script, it is not generated
38 # using the autotools, so we have to use the generic package infrastructure.
39
40 $(eval $(generic-package))