28 lines
606 B
Bash
28 lines
606 B
Bash
# Template file for 'nsjail'
|
|
pkgname=nsjail
|
|
version=2.3
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
hostmakedepends="libnl3-devel git pkg-config protobuf-c bison flex"
|
|
makedepends="libnl3-devel libcap-devel protobuf-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
|
|
}
|