void-packages/srcpkgs/nsjail/template
2017-07-09 13:04:13 +02:00

28 lines
591 B
Bash

# Template file for 'nsjail'
pkgname=nsjail
version=1.5
revision=1
build_style=gnu-makefile
hostmakedepends="libnl3-devel git pkg-config protobuf-c bison flex"
makedepends="libnl3-devel libcap-devel"
short_desc="A light-weight process isolation tool"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
homepage="https://github.com/google/nsjail"
only_for_archs="armv6l armv7l x86_64"
CFLAGS="-Wno-error=format"
do_fetch() {
git clone $homepage $wrksrc
cd $wrksrc
git checkout $version
}
do_build() {
make CC=$CC
}
do_install() {
vbin ${pkgname}
vlicense LICENSE
}