forked from ports/contrib
22 lines
576 B
Plaintext
22 lines
576 B
Plaintext
# Description: A daemon to control runC
|
|
# URL: https://containerd.io/
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
|
# Depends on: go
|
|
|
|
name=containerd
|
|
version=773c489
|
|
release=1
|
|
source=(http://jaeger.morpheus.net/linux/crux/files/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
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
|
|
make GIT_COMMIT=773c489c9c1b21a6d78b5c538cd395416ec50f88
|
|
install -d -m 0755 $PKG/usr/bin
|
|
install -m 0755 bin/* $PKG/usr/bin/
|
|
}
|