void-packages/srcpkgs/uid_wrapper/template

23 lines
619 B
Bash
Raw Normal View History

2024-05-22 09:22:00 +02:00
# 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
}