2015-02-02 16:39:27 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# odhcp6c
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-03-25 18:59:32 +01:00
|
|
|
ODHCP6C_VERSION = d2e247d8d87ecf8c60fcf0acdad05667bd379521
|
2015-02-02 16:39:27 +01:00
|
|
|
ODHCP6C_SITE = $(call github,sbyx,odhcp6c,$(ODHCP6C_VERSION))
|
2017-03-30 15:43:32 +02:00
|
|
|
ODHCP6C_LICENSE = GPL-2.0
|
2015-02-02 16:39:27 +01:00
|
|
|
ODHCP6C_LICENSE_FILES = COPYING
|
|
|
|
|
2015-02-24 17:29:08 +01:00
|
|
|
define ODHCP6C_INSTALL_SCRIPT
|
2015-06-18 08:10:21 +02:00
|
|
|
$(INSTALL) -m 0755 -D $(@D)/odhcp6c-example-script.sh \
|
2015-02-24 17:29:08 +01:00
|
|
|
$(TARGET_DIR)/usr/sbin/odhcp6c-update
|
|
|
|
endef
|
|
|
|
|
|
|
|
ODHCP6C_POST_INSTALL_TARGET_HOOKS += ODHCP6C_INSTALL_SCRIPT
|
|
|
|
|
2019-03-25 18:59:33 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBUBOX),y)
|
|
|
|
ODHCP6C_CONF_OPTS += -DUSE_LIBUBOX=1
|
|
|
|
ODHCP6C_DEPENDENCIES += libubox
|
|
|
|
else
|
|
|
|
ODHCP6C_CONF_OPTS += -DUSE_LIBUBOX=0
|
|
|
|
endif
|
|
|
|
|
2015-02-02 16:39:27 +01:00
|
|
|
$(eval $(cmake-package))
|