summaryrefslogtreecommitdiff
path: root/xibuilds/mpc.xibuild
blob: d242a836da763f6a5ea650e51c940c9c0f70576a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

DEPS=(mpfr)

SOURCE=http://www.multiprecision.org/downloads/mpc-1.2.0.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

    make
    make html

    make check

    make DESTDIR=$PKG_DEST install
    make DESTDIR=$PKG_DEST install-html
}