25 lines
782 B
Bash
25 lines
782 B
Bash
# Template file for 'pam_wrapper'
|
|
pkgname=pam_wrapper
|
|
version=1.1.3
|
|
revision=1
|
|
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*
|
|
}
|
|
}
|