2ba890bff7
Switch to official openwrt site instead of sbyx github fork which is not up to date anymore. This bump will fix build with musl 1.2.0 thanks to https://git.openwrt.org/?p=project/odhcp6c.git;a=commit;h=49305e6847efa43e008d0bebdc176e1833120947 Also update indentation of hash file (two spaces) Fixes: - http://autobuild.buildroot.org/results/fcd89dd076887e9b590ffa672decf2c84a6d57f8 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
28 lines
750 B
Makefile
28 lines
750 B
Makefile
################################################################################
|
|
#
|
|
# odhcp6c
|
|
#
|
|
################################################################################
|
|
|
|
ODHCP6C_VERSION = f575351cbb3defc0bf52680c9082912a6c264374
|
|
ODHCP6C_SITE = https://git.openwrt.org/project/odhcp6c.git
|
|
ODHCP6C_SITE_METHOD = git
|
|
ODHCP6C_LICENSE = GPL-2.0
|
|
ODHCP6C_LICENSE_FILES = COPYING
|
|
|
|
define ODHCP6C_INSTALL_SCRIPT
|
|
$(INSTALL) -m 0755 -D $(@D)/odhcp6c-example-script.sh \
|
|
$(TARGET_DIR)/usr/sbin/odhcp6c-update
|
|
endef
|
|
|
|
ODHCP6C_POST_INSTALL_TARGET_HOOKS += ODHCP6C_INSTALL_SCRIPT
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBUBOX),y)
|
|
ODHCP6C_CONF_OPTS += -DUSE_LIBUBOX=1
|
|
ODHCP6C_DEPENDENCIES += libubox
|
|
else
|
|
ODHCP6C_CONF_OPTS += -DUSE_LIBUBOX=0
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|