2018-03-04 01:43:42 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# docker-proxy
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
DOCKER_PROXY_VERSION = 7b2b1feb1de4817d522cc372af149ff48d25028e
|
|
|
|
DOCKER_PROXY_SITE = $(call github,docker,libnetwork,$(DOCKER_PROXY_VERSION))
|
|
|
|
|
|
|
|
DOCKER_PROXY_LICENSE = Apache-2.0
|
|
|
|
DOCKER_PROXY_LICENSE_FILES = LICENSE
|
|
|
|
|
2018-03-31 15:27:36 +02:00
|
|
|
DOCKER_PROXY_DEPENDENCIES = host-pkgconf
|
2018-03-04 01:43:42 +01:00
|
|
|
|
2018-03-31 15:27:36 +02:00
|
|
|
DOCKER_PROXY_WORKSPACE = gopath
|
2018-03-04 01:43:42 +01:00
|
|
|
|
2018-03-31 15:27:36 +02:00
|
|
|
DOCKER_PROXY_BUILD_TARGETS = cmd/proxy
|
2018-03-04 01:43:42 +01:00
|
|
|
|
|
|
|
define DOCKER_PROXY_INSTALL_TARGET_CMDS
|
2018-04-01 13:51:36 +02:00
|
|
|
$(INSTALL) -D -m 0755 $(@D)/bin/proxy $(TARGET_DIR)/usr/bin/docker-proxy
|
2018-03-04 01:43:42 +01:00
|
|
|
endef
|
|
|
|
|
2018-03-31 15:27:36 +02:00
|
|
|
$(eval $(golang-package))
|