kumquat-buildroot/package/odhcp6c/odhcp6c.mk
Peter Seiderer 74515d8e58 package/odhcp6c: bump version to 53f07e9
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-02-13 23:24:23 +01:00

28 lines
750 B
Makefile

################################################################################
#
# odhcp6c
#
################################################################################
ODHCP6C_VERSION = 53f07e90b7f1da6977143a488dd5cb73a33b233b
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))