24 lines
758 B
Bash
24 lines
758 B
Bash
# Template file for 'pam_wrapper'
|
|
pkgname=pam_wrapper
|
|
version=1.1.4
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-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=ce31bb2fb8e1dc91d8f05ce585134753e46c768fb4a614a3b97882bdee1907b2
|
|
lib32disabled=yes
|
|
|
|
python3-pypamtest_package() {
|
|
lib32disabled=yes
|
|
short_desc+=" - Python 3 bindings"
|
|
depends="${sourcepkg}>=${version}_${revision} python3"
|
|
pkg_install() {
|
|
vmove usr/lib/python*
|
|
}
|
|
}
|