Commit | Line | Data |
---|---|---|
f816a6a8 VM |
1 | # Description: C library for multiple-precision floating-point computations with correct rounding |
2 | # URL: http://www.mpfr.org/ | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu | |
5 | # Depends on: libgmp | |
6 | ||
7 | name=libmpfr | |
8 | version=3.1.0-p8 | |
9 | release=1 | |
10 | source=(http://www.mpfr.org/mpfr-${version%-*}/mpfr-${version%-*}.tar.xz | |
11 | $name-$version.patch.gz) | |
12 | ||
13 | build() { | |
14 | cd mpfr-${version%-*} | |
15 | gunzip -c $SRC/$name-$version.patch.gz | patch -p1 | |
16 | ./configure --prefix=/usr | |
17 | make | |
18 | make DESTDIR=$PKG install | |
19 | rm -r $PKG/usr/share | |
20 | } |