blob: 7f7dcda3867c751d3cd62f63fff9c6e791b5b09a (
plain)
1 # Description: a lightweight universal runtime container
2 # URL: https://runc.io/
3 # Maintainer: Matt Housh, jaeger at crux dot ninja
4 # Depends on: go libseccomp git
5
6 name=runc
7 version=dc9208a
8 release=1
9 source=(http://jaeger.morpheus.net/linux/crux/files/$name-$version.tar.xz \
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=dc9208a3303feef5b3839f4323d9beb36df0a9dd
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 }
|