summaryrefslogtreecommitdiff
path: root/repo/devel/mpc.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
commit003727289cc45e29eff0c0c48ad0f9660f96644f (patch)
tree0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/devel/mpc.xibuild
parentd2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff)
separated patch, build, check and package stages
Diffstat (limited to 'repo/devel/mpc.xibuild')
-rw-r--r--repo/devel/mpc.xibuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/repo/devel/mpc.xibuild b/repo/devel/mpc.xibuild
index 5fd5898..dde3750 100644
--- a/repo/devel/mpc.xibuild
+++ b/repo/devel/mpc.xibuild
@@ -2,15 +2,18 @@
DEPS=(mpfr)
-SOURCE=http://www.multiprecision.org/downloads/mpc-1.2.0.tar.gz
+PKG_VER=1.2.0
+SOURCE=http://www.multiprecision.org/downloads/mpc-$PKG_VER.tar.gz
DESC="Library for the arithmetic of complex numbers with arbitrarily high precision"
build () {
- ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/mpc-1.2.0
+ ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/mpc-$PKG_VER
make
make html
+}
+check () {
make check
}