summaryrefslogtreecommitdiff
path: root/repo/system/krb5.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/krb5.xibuild')
-rw-r--r--repo/system/krb5.xibuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/repo/system/krb5.xibuild b/repo/system/krb5.xibuild
index 8769e1f..c4f3abe 100644
--- a/repo/system/krb5.xibuild
+++ b/repo/system/krb5.xibuild
@@ -2,7 +2,8 @@
DEPS=(glibc e2fsprogs libldap keyutils)
-SOURCE=https://kerberos.org/dist/krb5/1.19/krb5-1.19.2.tar.gz
+PKG_VER=1.19.2
+SOURCE=https://kerberos.org/dist/krb5/$(echo $PKG_VER | cut -d. -f-2)/krb5-$PKG_VER.tar.gz
DESC="The Kerberos network authentication system"
build () {
@@ -30,6 +31,6 @@ build () {
make
make DESTDIR=$PKG_DEST install
- install -v -dm755 $PKG_DEST/usr/share/doc/krb5-1.19.2 &&
- cp -vfr ../doc/* $PKG_DEST/usr/share/doc/krb5-1.19.2
+ install -v -dm755 $PKG_DEST/usr/share/doc/krb5-$PKG_VER &&
+ cp -vfr ../doc/* $PKG_DEST/usr/share/doc/krb5-$PKG_VER
}