CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[crossrootfs.git] / libmpfr / Pkgfile
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 # Ach Maintainer: CRUX ARM System Team
5 # Depends on: libgmp
6
7 name=libmpfr
8 version=2.4.1
9 release=1
10 source=(http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2 \
11 mpfr-$version-branch_update-1.patch)
12
13 build() {
14 cd mpfr-$version
15 patch -p1 -i $SRC/mpfr-$version-branch_update-1.patch
16 ./configure --build=$CHOST \
17 --host=$CTARGET \
18 --prefix=/usr
19
20 make
21 make DESTDIR=$PKG install
22 rm -r $PKG/usr/share
23 }