summaryrefslogtreecommitdiff
path: root/runc/Pkgfile
blob: 9299acf10901b5662e342fe3636c1021d8c48641 (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.1
    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=4144b63817ebcc5b358fc2c8ef95f7cddd709aa7
   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