CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libarchive: Fix libtool link with host libraries problem FS#51
[crossrootfs.git] / libmpfr / Pkgfile
... / ...
CommitLineData
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
7name=libmpfr
8version=3.1.2
9release=1
10source=(http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.xz)
11
12build() {
13 cd mpfr-${version%-*}
14
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --with-gmp-include=$CLFS/usr/include \
19 --with-gmp-lib=$CLFS/usr/lib
20
21 make
22 make DESTDIR=$PKG install
23 rm -rf $PKG/usr/share
24}