summaryrefslogtreecommitdiff
path: root/repo/devel/mpc.xibuild
blob: 5fd5898ddc4f0b532916a7d93813d26c9cfe9cf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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
}

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