blob: dde375032211f44c07977a5656701aac5d608582 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/bash
DEPS=(mpfr)
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-$PKG_VER
make
make html
}
check () {
make check
}
package () {
make DESTDIR=$PKG_DEST install
make DESTDIR=$PKG_DEST install-html
}
|