summaryrefslogtreecommitdiff
path: root/repo/system/mpfr.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/mpfr.xibuild
parentcb447620084a20be80d116c81c2e9ec110be7118 (diff)
added PKG_VER to xibuilds
Diffstat (limited to 'repo/system/mpfr.xibuild')
-rw-r--r--repo/system/mpfr.xibuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/repo/system/mpfr.xibuild b/repo/system/mpfr.xibuild
index 4895dc9..629c230 100644
--- a/repo/system/mpfr.xibuild
+++ b/repo/system/mpfr.xibuild
@@ -1,12 +1,14 @@
#!/bin/bash
DEPS=(glibc gmp)
-SOURCE=https://www.mpfr.org/mpfr-current/mpfr-4.1.0.tar.xz
+
+PKG_VER=4.1.0
+SOURCE=https://www.mpfr.org/mpfr-current/mpfr-$PKG_VER.tar.xz
DESC="Multiple-precision floating-point library"
build () {
- ./configure --prefix=/usr --disable-static --enable-thread-safe --docdir=/usr/share/doc/mpfr-4.1.0
+ ./configure --prefix=/usr --disable-static --enable-thread-safe --docdir=/usr/share/doc/mpfr-$PKG_VER
make
make html