void-packages/srcpkgs/uid_wrapper/template

23 lines
619 B
Bash

# Template file for 'uid_wrapper'
pkgname=uid_wrapper
version=1.3.0
revision=1
build_style=cmake
hostmakedepends="pkg-config"
short_desc="Testing tool to fake privilege separation"
maintainer="Otto Modinos <ottomodinos@gmail.com>"
license="BSD-3-Clause"
homepage="https://cwrap.org/uid_wrapper.html"
distfiles="https://download.samba.org/pub/cwrap/${pkgname}-${version}.tar.gz"
checksum=f7e7c1bde533530051931414724453e14e02adbb614824b6fe27cbb98654b762
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DUNIT_TESTING=ON"
makedepends+=" cmocka-devel"
checkdepends+=" cmocka"
fi
post_install() {
vlicense LICENSE
}