21 lines
597 B
Plaintext
21 lines
597 B
Plaintext
# Description: A daemon to control runC
|
|
# URL: https://containerd.tools/
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
|
# Depends on: go
|
|
|
|
name=containerd
|
|
version=977c511
|
|
release=2
|
|
source=(http://jaeger.morpheus.net/linux/crux/files/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
mkdir -p src/github.com/docker
|
|
ln -sf $SRC/$name-$version src/github.com/docker/$name
|
|
cd src/github.com/docker/$name
|
|
export GOPATH=$SRC
|
|
# use the long commit hash here
|
|
make GIT_COMMIT=977c511eda0925a723debdc94d09459af49d082a
|
|
install -d -m 0755 $PKG/usr/bin
|
|
install -m 0755 bin/* $PKG/usr/bin/
|
|
}
|