contrib/runc/Pkgfile

26 lines
798 B
Plaintext
Raw Normal View History

2016-05-26 01:05:19 +02: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-10-09 18:15:03 +02:00
version=3f2f8b8
2017-04-12 22:30:12 +02:00
release=1
2017-02-18 02:04:28 +01:00
source=(http://jaeger.morpheus.net/linux/crux/files/$name-$version.tar.xz \
2016-05-26 01:05:19 +02: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
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"
# use the long commit hash here
2017-10-09 18:15:03 +02:00
make COMMIT=3f2f8b84a77f73d38244dd690525642a72156c64
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/
}