mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
24 lines
677 B
Plaintext
24 lines
677 B
Plaintext
# description : A daemon to control runC
|
|
# hompegage : https://containerd.io/
|
|
# depends : go btrfs-progs libseccomp
|
|
|
|
name=containerd
|
|
version=1.7.11
|
|
release=1
|
|
commit=091922f03c2762540fd057fba91260237ff86acb
|
|
source="$name-$version.tar.gz::https://github.com/containerd/containerd/archive/refs/tags/v$version.tar.gz"
|
|
|
|
build() {
|
|
export GOFLAGS="$GOFLAGS -modcacherw -mod=readonly"
|
|
export GOCACHE="${GOCACHE:-"$SRC/go-cache"}"
|
|
export GOTMPDIR="${GOTMPDIR:-"$SRC"}"
|
|
export GOMODCACHE="${GOMODCACHE:-"$SRC/go"}"
|
|
export GO111MODULE=on
|
|
|
|
cd $name-$version
|
|
make VERSION="v$version" REVISION="$commit" BUILDMODE=pie
|
|
|
|
mkdir -pv $PKG/usr/bin
|
|
install -Dsm755 ./bin/* $PKG/usr/bin/
|
|
}
|