summaryrefslogtreecommitdiff
path: root/runc/Pkgfile
blob: d82f931d13b2b3dd5749b254ec43d03aec421029 (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.0.2
    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=52b36a2dd837e8462de8e01458bf02cf9eea47dd
   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 }

Generated by cgit