summaryrefslogtreecommitdiff
path: root/repo/system/pam.xibuild
diff options
context:
space:
mode:
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