contrib/runc/Pkgfile

25 lines
770 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-03-27 17:41:14 +02:00
version=a01dafd
release=2
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
ln -sf $SRC/$name-$version
cd $name-$version
export GOPATH=$SRC
# use the long commit hash here
make COMMIT=a01dafd48bc1c7cc12bdb01206f9fea7dd6feb70
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/
}