2016-05-25 18:04:59 -05:00
|
|
|
# Description: A daemon to control runC
|
2017-10-09 11:14:39 -05:00
|
|
|
# URL: https://containerd.io/
|
2016-05-25 18:04:59 -05:00
|
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
2018-08-28 11:42:26 -05:00
|
|
|
# Depends on: go btrfs-progs git
|
2016-05-25 18:04:59 -05:00
|
|
|
|
|
|
|
name=containerd
|
2019-06-02 17:43:11 -05:00
|
|
|
version=bb71b10
|
2017-04-12 15:29:41 -05:00
|
|
|
release=1
|
2017-02-17 19:03:53 -06:00
|
|
|
source=(http://jaeger.morpheus.net/linux/crux/files/$name-$version.tar.xz)
|
2016-05-25 18:04:59 -05:00
|
|
|
|
|
|
|
build() {
|
2017-10-09 11:14:39 -05:00
|
|
|
mkdir -p src/github.com/$name
|
|
|
|
cd src/github.com/$name
|
|
|
|
ln -s $SRC/$name-$version $name
|
|
|
|
cd $name
|
2016-05-25 18:04:59 -05:00
|
|
|
export GOPATH=$SRC
|
2017-03-27 12:07:28 -05:00
|
|
|
# use the long commit hash here
|
2019-06-02 17:43:11 -05:00
|
|
|
make GIT_COMMIT=bb71b10fd8f58240ca47fbb579b9d1028eea7c84
|
2016-05-25 18:04:59 -05:00
|
|
|
install -d -m 0755 $PKG/usr/bin
|
|
|
|
install -m 0755 bin/* $PKG/usr/bin/
|
|
|
|
}
|