20 lines
507 B
Plaintext
20 lines
507 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=0.2.1
|
||
|
release=1
|
||
|
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
|
||
|
make
|
||
|
install -d -m 0755 $PKG/usr/bin
|
||
|
install -m 0755 bin/* $PKG/usr/bin/
|
||
|
}
|