2016-05-25 18:05:19 -05:00
|
|
|
# Description: a lightweight universal runtime container
|
|
|
|
# URL: https://runc.io/
|
|
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
|
|
|
# Depends on: go libseccomp
|
|
|
|
|
|
|
|
name=runc
|
2017-04-12 15:30:12 -05:00
|
|
|
version=9c2d8d1
|
|
|
|
release=1
|
2017-02-17 19:04:28 -06:00
|
|
|
source=(http://jaeger.morpheus.net/linux/crux/files/$name-$version.tar.xz \
|
2016-05-25 18:05:19 -05:00
|
|
|
http://jaeger.morpheus.net/linux/crux/files/$name-man-pages-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
mkdir -pv src/github.com/opencontainers
|
|
|
|
cd src/github.com/opencontainers
|
|
|
|
ln -sf $SRC/$name-$version
|
|
|
|
cd $name-$version
|
|
|
|
export GOPATH=$SRC
|
2017-03-27 12:07:42 -05:00
|
|
|
# use the long commit hash here
|
2017-04-12 15:30:12 -05:00
|
|
|
make COMMIT=9c2d8d184e5da67c95d601382adf14862e4f2228
|
2016-05-25 18:05:19 -05:00
|
|
|
|
|
|
|
install -D -m 0755 $name $PKG/usr/bin/$name
|
|
|
|
install -d -m 0755 $PKG/usr/share/man/man8
|
|
|
|
install -m 0644 $SRC/man8/* $PKG/usr/share/man/man8/
|
|
|
|
}
|