summaryrefslogtreecommitdiff
path: root/repo/system/mpfr.xibuild
blob: 5e0b35df9e90e7345e49b3f70e8ce7749dab3f97 (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

DEPS=(glibc gmp)

PKG_VER=4.1.0
SOURCE=https://www.mpfr.org/mpfr-current/mpfr-$PKG_VER.tar.xz

DESC="Multiple-precision floating-point library"

build () {
    ./configure --prefix=/usr --disable-static --enable-thread-safe --docdir=/usr/share/doc/mpfr-$PKG_VER
    make
    make html
}

check () {
    make check
}

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