summaryrefslogtreecommitdiff
path: root/repo/mpfr/mpfr.xibuild
blob: a0fc726abd6ef0dd058e8927389daa33584962ab (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
25
#!/bin/sh

MAKEDEPS="make "
DEPS="musl gmp"

PKG_VER=4.1.0
SOURCE=https://ftp.gnu.org/gnu/mpfr/mpfr-$PKG_VER.tar.bz2

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
}