mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
libnetwork: drop package
docker-proxy is now included in moby
This commit is contained in:
parent
44093ab536
commit
ad3f728aef
@ -1,33 +0,0 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
||||||
# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv)
|
|
||||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
||||||
|
|
||||||
PKG_NAME="libnetwork"
|
|
||||||
PKG_VERSION="339b972b464ee3d401b5788b2af9e31d09d6b7da" # 2022-03-16
|
|
||||||
PKG_SHA256="335851e924078a8e274f0c27cb80aaba32d0c1059068740496f1eb31b55a6ec4"
|
|
||||||
PKG_LICENSE="APL"
|
|
||||||
PKG_SITE="https://github.com/docker/libnetwork"
|
|
||||||
PKG_URL="https://github.com/docker/libnetwork/archive/${PKG_VERSION}.tar.gz"
|
|
||||||
PKG_DEPENDS_TARGET="toolchain go:host"
|
|
||||||
PKG_LONGDESC="A native Go implementation for connecting containers."
|
|
||||||
PKG_TOOLCHAIN="manual"
|
|
||||||
|
|
||||||
pre_make_target() {
|
|
||||||
go_configure
|
|
||||||
|
|
||||||
export CGO_ENABLED=0
|
|
||||||
export LDFLAGS="-extld ${CC}"
|
|
||||||
export GO111MODULE=off
|
|
||||||
|
|
||||||
mkdir -p ${GOPATH}
|
|
||||||
if [ -d ${PKG_BUILD}/vendor ]; then
|
|
||||||
mv ${PKG_BUILD}/vendor ${GOPATH}/src
|
|
||||||
fi
|
|
||||||
|
|
||||||
ln -fs ${PKG_BUILD} ${GOPATH}/src/github.com/docker/libnetwork
|
|
||||||
}
|
|
||||||
|
|
||||||
make_target() {
|
|
||||||
mkdir -p bin
|
|
||||||
${GOLANG} build -v -o bin/docker-proxy -a -ldflags "${LDFLAGS}" ./cmd/proxy
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user