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

MAKEDEPS=(make )
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
}