mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-25 10:46:19 +00:00
70e5377081
release notes: - https://github.com/moby/moby/releases/tag/v23.0.6
55 lines
1.7 KiB
Makefile
55 lines
1.7 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="moby"
|
|
PKG_VERSION="23.0.6"
|
|
PKG_SHA256="3bbd32f401f652cc15084d3c09bd7acd381571802beac9333fd63d803dc66c3e"
|
|
PKG_LICENSE="ASL"
|
|
PKG_SITE="https://mobyproject.org/"
|
|
PKG_URL="https://github.com/moby/moby/archive/v${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain go:host systemd"
|
|
PKG_LONGDESC="Moby is an open-source project created by Docker to enable and accelerate software containerization."
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
# Git commit of the matching release https://github.com/moby/moby
|
|
export PKG_GIT_COMMIT="9dbdbd4b6d7681bd18c897a6ba0376073c2a72ff"
|
|
|
|
PKG_MOBY_BUILDTAGS="daemon \
|
|
autogen \
|
|
exclude_graphdriver_devicemapper \
|
|
exclude_graphdriver_aufs \
|
|
exclude_graphdriver_btrfs \
|
|
journald"
|
|
|
|
configure_target() {
|
|
go_configure
|
|
|
|
export LDFLAGS="-w -linkmode external -extldflags -Wl,--unresolved-symbols=ignore-in-shared-libs -extld ${CC}"
|
|
|
|
# used for docker version
|
|
export GITCOMMIT=${PKG_GIT_COMMIT}
|
|
export VERSION=${PKG_VERSION}
|
|
export BUILDTIME="$(date --utc)"
|
|
|
|
cat > "${PKG_BUILD}/go.mod" << EOF
|
|
module github.com/docker/docker
|
|
|
|
go 1.18
|
|
EOF
|
|
|
|
GO111MODULE=auto ${GOLANG} mod tidy -modfile 'vendor.mod' -compat 1.18
|
|
GO111MODULE=auto ${GOLANG} mod vendor -modfile vendor.mod
|
|
|
|
bash hack/make/.go-autogen
|
|
}
|
|
|
|
make_target() {
|
|
mkdir -p bin
|
|
${GOLANG} build -mod=mod -modfile=vendor.mod -v -o bin/docker-proxy -a -ldflags "${LDFLAGS}" ./cmd/docker-proxy
|
|
${GOLANG} build -mod=mod -modfile=vendor.mod -v -o bin/dockerd -a -tags "${PKG_MOBY_BUILDTAGS}" -ldflags "${LDFLAGS}" ./cmd/dockerd
|
|
}
|
|
|
|
makeinstall_target() {
|
|
:
|
|
}
|