mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
95cdd2d3e8
Disable building for all MIPS variants. Changes: https://github.com/containerd/containerd/releases/tag/v1.7.23 Changes: https://github.com/containerd/containerd/releases/tag/v2.0.0 Changes: https://github.com/containerd/containerd/releases/tag/v2.0.1 Changes: https://github.com/containerd/containerd/releases/tag/v2.0.2 Changes: https://github.com/containerd/containerd/releases/tag/v2.0.3 Changes: https://github.com/containerd/containerd/releases/tag/v2.0.4 Changes: https://github.com/containerd/containerd/releases/tag/v2.0.5 Changes: https://github.com/containerd/containerd/releases/tag/v2.1.0 Changes: https://github.com/containerd/containerd/releases/tag/v2.1.1 Changes: https://github.com/containerd/containerd/releases/tag/v2.1.2 Changes: https://github.com/containerd/containerd/releases/tag/v2.1.3 Changes: https://github.com/containerd/containerd/releases/tag/v2.1.4 Changes: https://github.com/containerd/containerd/releases/tag/v2.1.5 Changes: https://github.com/containerd/containerd/releases/tag/v2.2.0 Changes: https://github.com/containerd/containerd/releases/tag/v2.2.1 Changes: https://github.com/containerd/containerd/releases/tag/v2.2.2 Changes: https://github.com/containerd/containerd/releases/tag/v2.2.3 Co-authored-by: Gerard Ryan <G.M0N3Y.2503@gmail.com> Signed-off-by: George Sapkin <george@sapk.in>
70 lines
1.9 KiB
Makefile
70 lines
1.9 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=containerd
|
|
PKG_VERSION:=2.2.3
|
|
PKG_RELEASE:=1
|
|
PKG_LICENSE:=Apache-2.0
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
PKG_CPE_ID:=cpe:/a:linuxfoundation:containerd
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://codeload.github.com/containerd/containerd/tar.gz/v${PKG_VERSION}?
|
|
PKG_HASH:=b97780bde4b01ed3596b0b0c6f55bfb130794a3db4e6fe2e0fc9719244933945
|
|
|
|
PKG_MAINTAINER:=Gerard Ryan <G.M0N3Y.2503@gmail.com>
|
|
|
|
PKG_BUILD_DEPENDS:=golang/host dockerd
|
|
PKG_BUILD_PARALLEL:=1
|
|
PKG_INSTALL:=1
|
|
|
|
GO_PKG:=github.com/containerd/containerd
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../../lang/golang/golang-package.mk
|
|
|
|
EMPTY:=
|
|
SPACE:= $(EMPTY) $(EMPTY)
|
|
ARCH_DEPENDS:=@($(subst $(SPACE),||,$(strip $(filter-out mips mips64 mipsel mips64el,$(subst ||,$(SPACE),$(patsubst @(%),%,$(GO_ARCH_DEPENDS)))))))
|
|
|
|
define Package/containerd
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
TITLE:=containerd container runtime
|
|
URL:=https://containerd.io/
|
|
DEPENDS:=$(ARCH_DEPENDS) +btrfs-progs +runc
|
|
MENU:=1
|
|
endef
|
|
|
|
define Package/containerd/description
|
|
An industry-standard container runtime with an emphasis on simplicity,
|
|
robustness and portability.
|
|
endef
|
|
|
|
GO_PKG_INSTALL_EXTRA:=\
|
|
vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb \
|
|
Makefile \
|
|
vendor/modules.txt
|
|
|
|
MAKE_PATH:=$(GO_PKG_WORK_DIR_NAME)/build/src/$(GO_PKG)
|
|
MAKE_VARS += $(GO_PKG_VARS)
|
|
MAKE_FLAGS += \
|
|
VERSION=$(PKG_VERSION) \
|
|
REVISION=$(PKG_SOURCE_VERSION) \
|
|
PREFIX=""
|
|
|
|
ifeq ($(CONFIG_SELINUX),y)
|
|
MAKE_FLAGS += BUILDTAGS='selinux'
|
|
else
|
|
MAKE_FLAGS += BUILDTAGS=''
|
|
endif
|
|
|
|
# Reset golang-package.mk overrides so we can use the Makefile
|
|
Build/Compile=$(call Build/Compile/Default)
|
|
|
|
define Package/containerd/install
|
|
$(INSTALL_DIR) $(1)/usr/bin/
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/{ctr,containerd,containerd-stress,containerd-shim-runc-v2} $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,containerd))
|