blob: 0e3e8413e2e9661cd51f3355a001455ad2931508 (
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
5
6 name=runc
7 version=3f2f8b8
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=3f2f8b84a77f73d38244dd690525642a72156c64
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 }
|