void-packages/srcpkgs/pam_zfscrypt/template

28 lines
766 B
Bash
Raw Normal View History

2019-12-06 22:35:33 +01:00
# Template file for 'pam_zfscrypt'
pkgname=pam_zfscrypt
version=0.2.0
revision=1
wrksrc="zfscrypt-${version}"
build_style=gnu-makefile
make_use_env=yes
makedepends="pam-devel zfs-devel"
depends="pam"
short_desc="Automatically decrypt and mount encrypted ZFS home directories"
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
license="MIT"
homepage="https://github.com/BenKerry/zfscrypt"
distfiles="https://github.com/BenKerry/zfscrypt/archive/v${version}.tar.gz"
checksum=73244e7e97ab5a47a9ea4a24ac490f07bfe7c1eb0c920e03df202494ea61b650
CFLAGS="-Iinclude"
pre_build() {
vsed -e "/ZFSINC :=/s,-isystem/usr/include,-I${XBPS_CROSS_BASE}/usr/include,g" \
-i Makefile
}
do_install() {
vinstall build/pam_zfscrypt.so 0755 usr/lib/security
vlicense LICENSE
}