27 lines
839 B
Bash
27 lines
839 B
Bash
# Template file for 'minijail'
|
|
pkgname=minijail
|
|
version=12
|
|
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://gitlab.com/chinstrap/minijail/-/archive/linux-v${version}/minijail-linux-v${version}.tar.gz"
|
|
checksum=2f8ef7a0f0f3b21752fb629b3ff8a5bb713eb448306ccfa34331deff4491ea52
|
|
|
|
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
|
|
}
|