mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
8
package/odhcp6c/Config.in
Normal file
8
package/odhcp6c/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_ODHCP6C
|
||||
bool "odhcp6c"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
odhcp6c is a minimal DHCPv6 and RA-client for use in
|
||||
embedded Linux systems, especially routers.
|
||||
|
||||
https://github.com/sbyx/odhcp6c
|
||||
3
package/odhcp6c/odhcp6c.hash
Normal file
3
package/odhcp6c/odhcp6c.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 6d472320ccfa2e57197596869507f2a4bf9900a502939404bf0c033dceeadf5f odhcp6c-d2e247d8d87ecf8c60fcf0acdad05667bd379521.tar.gz
|
||||
sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 COPYING
|
||||
26
package/odhcp6c/odhcp6c.mk
Normal file
26
package/odhcp6c/odhcp6c.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# odhcp6c
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ODHCP6C_VERSION = d2e247d8d87ecf8c60fcf0acdad05667bd379521
|
||||
ODHCP6C_SITE = $(call github,sbyx,odhcp6c,$(ODHCP6C_VERSION))
|
||||
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))
|
||||
Reference in New Issue
Block a user