void-packages/srcpkgs/pam_wrapper/template

25 lines
769 B
Bash

# Template file for 'pam_wrapper'
pkgname=pam_wrapper
version=1.1.5
revision=2
build_style=cmake
configure_args="-DUNIT_TESTING=ON"
hostmakedepends="cmake python3-setuptools"
makedepends="python3-devel pam-devel cmocka-devel"
short_desc="Tool to test PAM applications and modules"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://cwrap.org/pam_wrapper.html"
distfiles="https://www.samba.org/ftp/cwrap/pam_wrapper-${version}.tar.gz"
checksum=bbc47d9990eef7b33db55d63a9e2cde5d16e8989a17c6456b8ca2a582d72f889
lib32disabled=yes
python3-pypamtest_package() {
lib32disabled=yes
short_desc+=" - Python 3 bindings"
depends="${sourcepkg}>=${version}_${revision} python3"
pkg_install() {
vmove usr/lib/python*
}
}