contrib/containerd/Pkgfile

23 lines
608 B
Plaintext
Raw Normal View History

# Description: A daemon to control runC
2017-10-09 18:14:39 +02:00
# URL: https://containerd.io/
# Maintainer: Matt Housh, jaeger at crux dot ninja
# Depends on: go btrfs-progs git libseccomp
name=containerd
2024-04-29 20:58:45 +02:00
version=1.7.16
2017-04-12 22:29:41 +02:00
release=1
2023-09-02 16:42:34 +02:00
source=(https://crux.nu/files/$name-$version.tar.xz)
build() {
export GO111MODULE=auto
2017-10-09 18:14:39 +02:00
mkdir -p src/github.com/$name
cd src/github.com/$name
ln -s $SRC/$name-$version $name
cd $name
export GOPATH=$SRC
# use the long commit hash here
2024-04-29 20:58:45 +02:00
make GIT_COMMIT=83031836b2cf55637d7abf847b17134c51b38e53
install -d -m 0755 $PKG/usr/bin
install -m 0755 bin/* $PKG/usr/bin/
}