void-packages/srcpkgs/pam_wrapper/template
2021-10-09 08:01:36 -04:00

24 lines
782 B
Bash

# Template file for 'pam_wrapper'
pkgname=pam_wrapper
version=1.1.3
revision=2
build_style=cmake
configure_args="-DCMAKE_BUILD_TYPE=None -DUNIT_TESTING=ON"
hostmakedepends="cmake python3"
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=4feedd788c6fa36516f6d6060482cd86455998d72849eb5f539de48915bdc5f3
lib32disabled=yes
python3-pypamtest_package() {
lib32disabled=yes
short_desc+=" - Python 3 bindings"
depends="${sourcepkg}>=${version}_${revision} python3"
pkg_install() {
vmove usr/lib/python*
}
}