anchor.diff:  	mkdir -p .gopath/src/"$(dirname "${DOCKER_PKG}")"
   	ln -sf ../../../../components/engine/ .gopath/src/"${DOCKER_PKG}"
   
  -	mkdir -p .gopath/src/github.com/docker
  -	ln -sf ${WORKDIR}/git/libnetwork .gopath/src/github.com/docker/libnetwork
   	ln -sf ${S}/src/import/components/cli .gopath/src/github.com/docker/cli
   
   	export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go"
  
positive.code: 
  	cd ${S}/src/import/components/engine
  
  	# this is the unsupported build structure
  	# that doesn't rely on an existing docker
  	# to build this:
  	VERSION="${DOCKER_VERSION}" DOCKER_GITCOMMIT="${SRCREV_docker}" ./hack/make.sh dynbinary
  
  	# build the proxy
  	cd ${S}/src/import/.gopath/src/github.com/docker/libnetwork
  	oe_runmake cross-local
  
  
negative.code: 
  # Apache-2.0 for docker
  LICENSE = "Apache-2.0"
  LIC_FILES_CHKSUM = "file://src/import/components/engine/LICENSE;md5=4859e97a9c7780e77972d989f0823f28"
  
  GO_IMPORT = "import"
  
  S = "${WORKDIR}/git"
  
  DOCKER_VERSION = "19.03.0-rc3-ce"
  PV = "${DOCKER_VERSION}+git${SRCREV_docker}"
  
  PACKAGES =+ "${PN}-contrib"
  