1 # Contributor: grimi <grimi at poczta dot fm>
2 # Contributor: <alxandre becoulet at free dot fr>
7 pkgdesc="Multiple-precision floating-point library (32-bit)"
10 url="http://www.mpfr.org/"
12 depends=('mpfr' 'lib32-gmp>=5.0')
13 makedepends=('gcc-multilib')
15 source=(http://www.mpfr.org/mpfr-current/mpfr-${pkgver}.tar.xz)
16 md5sums=('6e495841bb026481567006cec0f821c3')
19 cd "${srcdir}"/mpfr-${pkgver}
20 ./configure --prefix=/usr --enable-thread-safe --enable-shared \
21 --libdir='/usr/lib32' --with-gmp-include='/usr/lib32/gmp' \
22 CC='gcc -m32' PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
28 cd "${srcdir}"/mpfr-${pkgver}
29 make DESTDIR="${pkgdir}" install
30 rm -rf "${pkgdir}"/usr/{share,include}