blob: 01947d689dac30ce14adf5a6cbb634c4f086da97 (
plain)
1 # Description: a lightweight universal runtime container
2 # URL: https://github.com/opencontainers/runc
3 # Maintainer: Matt Housh, jaeger at crux dot ninja
4 # Depends on: go libseccomp git
5
6 name=runc
7 version=1.1.4
8 release=1
9 source=(https://github.com/opencontainers/runc/archive/v${version}/$name-${version}.tar.gz \
10 http://jaeger.morpheus.net/linux/crux/files/$name-man-pages-$version.tar.xz)
11
12 build() {
13 mkdir -pv src/github.com/opencontainers
14 cd src/github.com/opencontainers
15 ln -sf $SRC/$name-$version $name
16 cd $name
17 export GOPATH=$SRC
18 export BUILDTAGS="seccomp"
19 # use the long commit hash here
20 make COMMIT=5fd4c4d144137e991c4acebb2146ab1483a97925
21
22 install -D -m 0755 $name $PKG/usr/bin/$name
23 install -d -m 0755 $PKG/usr/share/man/man8
24 install -m 0644 $SRC/man8/* $PKG/usr/share/man/man8/
25 }
|