summaryrefslogtreecommitdiff
path: root/repo/devel/mpc/mpc.xibuild
blob: f9c94777b2386b0b638f187ac4ac27c6baeaf3e1 (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/sh

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
}