summaryrefslogtreecommitdiff
path: root/repo/devel/mpc.xibuild
blob: 70b4e2ecd20431477706097b872236d3e1ec1e78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

MAKEDEPS=(make )
DEPS=(mpfr)

PKG_VER=1.2.1
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-$PKG_VER

    make
    make html
}

check () {
    make check
}

package () {
    make DESTDIR=$PKG_DEST install
    make DESTDIR=$PKG_DEST install-html
}