summaryrefslogtreecommitdiffstats
path: root/libmpfr/Pkgfile
blob: 09f1c94e43abfd8cf62640febbb989d1c09d5203 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
description="C library for multiple-precision floating-point computations with correct rounding"
packager=""
maintainer="CRUX System Team, core-ports at crux dot nu"
url="http://www.mpfr.org/"
depends=(libgmp)

name=libmpfr
version=3.0.0-p8
release=1
source=(http://www.mpfr.org/mpfr-3.0.0/mpfr-3.0.0.tar.xz libmpfr-3.0.0-p8.patch.gz)
build () 
{ 
    cd mpfr-${version%-*};
    gunzip -c $SRC/$name-$version.patch.gz | patch -p1;
    ./configure --prefix=/usr;
    make;
    make DESTDIR=$PKG install;
    rm -r $PKG/usr/share
}