2016-05-26 01:05:19 +02:00
|
|
|
# Description: a lightweight universal runtime container
|
2021-01-26 21:43:37 +01:00
|
|
|
# URL: https://github.com/opencontainers/runc
|
2016-05-26 01:05:19 +02:00
|
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
2018-08-28 18:43:09 +02:00
|
|
|
# Depends on: go libseccomp git
|
2016-05-26 01:05:19 +02:00
|
|
|
|
|
|
|
name=runc
|
2022-05-07 02:21:24 +02:00
|
|
|
version=1.1.1
|
2019-08-18 02:03:28 +02:00
|
|
|
release=1
|
2021-01-26 21:43:37 +01:00
|
|
|
source=(https://github.com/opencontainers/runc/archive/v${version}/$name-${version}.tar.gz \
|
2019-06-03 00:44:06 +02:00
|
|
|
http://jaeger.morpheus.net/linux/crux/files/$name-man-pages-$version.tar.xz)
|
2016-05-26 01:05:19 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
mkdir -pv src/github.com/opencontainers
|
|
|
|
cd src/github.com/opencontainers
|
2017-10-09 18:15:03 +02:00
|
|
|
ln -sf $SRC/$name-$version $name
|
|
|
|
cd $name
|
2016-05-26 01:05:19 +02:00
|
|
|
export GOPATH=$SRC
|
2017-10-09 18:15:03 +02:00
|
|
|
export BUILDTAGS="seccomp"
|
2017-03-27 19:07:42 +02:00
|
|
|
# use the long commit hash here
|
2022-05-07 02:21:24 +02:00
|
|
|
make COMMIT=52de29d7e0f8c0899bd7efb8810dd07f0073fa87
|
2016-05-26 01:05:19 +02: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/
|
|
|
|
}
|