New package: minijail-10.

This commit is contained in:
Cameron Nemo 2019-08-20 12:28:06 -07:00 committed by Helmut Pozimski
parent b07235a16b
commit ad8361926c

23
srcpkgs/minijail/template Normal file
View file

@ -0,0 +1,23 @@
# Template file for 'minijail'
pkgname=minijail
version=10
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=29334d1bcd16c1ea09e49cef3b47a000e98be7ffe7fa9a28c8cab81643033612
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
}