summaryrefslogtreecommitdiff
path: root/repo/system/pam.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 02:27:41 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 02:27:41 +0000
commit91ed29d7dda0c5764bfc991985bf98adab0890f0 (patch)
tree936e59025c55e921ec06ad202991c5b66710abc2 /repo/system/pam.xibuild
parentcb447620084a20be80d116c81c2e9ec110be7118 (diff)
added PKG_VER to xibuilds
Diffstat (limited to 'repo/system/pam.xibuild')
-rw-r--r--repo/system/pam.xibuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/repo/system/pam.xibuild b/repo/system/pam.xibuild
index 732909a..3166ad2 100644
--- a/repo/system/pam.xibuild
+++ b/repo/system/pam.xibuild
@@ -2,7 +2,8 @@
DEPS=(glibc libtirpc pambase audit libxcrypt)
-SOURCE=https://github.com/linux-pam/linux-pam/releases/download/v1.5.2/Linux-PAM-1.5.2.tar.xz
+PKG_VER=1.5.2
+SOURCE=https://github.com/linux-pam/linux-pam/releases/download/v$PKG_VER/Linux-PAM-$PKG_VER.tar.xz
DESC="PAM (Pluggable Authentication Modules) library"
build () {
@@ -16,7 +17,7 @@ build () {
--sysconfdir=/etc \
--libdir=/usr/lib \
--enable-securedir=/usr/lib/security \
- --docdir=/usr/share/doc/Linux-PAM-1.5.2 &&
+ --docdir=/usr/share/doc/Linux-PAM-$PKG_VER &&
make
make DESTDIR=$PKG_DEST install