void-packages/srcpkgs/minijail/template
Cameron Nemo 7635fbf77e minijail: update to 13.
Also switch to official google github mirror
2020-02-04 09:56:57 +01:00

27 lines
807 B
Bash

# Template file for 'minijail'
pkgname=minijail
version=13
revision=1
wrksrc="${pkgname}-linux-v${version}"
build_style=gnu-makefile
makedepends="libcap-devel"
short_desc="Sandboxing and containment tool used in Chrome OS and Android"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="BSD-3-Clause"
homepage="https://android.googlesource.com/platform/external/minijail"
distfiles="https://github.com/google/minijail/archive/linux-v${version}.tar.gz"
checksum=ab2d31c3aed008ad565eb3081cd6833b9a2421ba31c5cea4b7c401eaac4a9c82
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
broken="bpf.h:110:2: error: #error Unsupported endianness"
fi
do_install() {
vbin minijail0
vmkdir usr/lib
vcopy libminijail.so usr/lib
vcopy libminijailpreload.so usr/lib
vman minijail0.1
vman minijail0.5
vlicense LICENSE
}