summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mpfr/PKGBUILD
blob: e53757b4b453a32ad3692b0f71fca0bff0f0472f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 82426 2010-06-11 05:51:29Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: damir <damir@archlinux.org>

pkgname=mpfr
pkgver=3.0.0
pkgrel=1
pkgdesc="Multiple-precision floating-point library"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://www.mpfr.org/"
depends=('gmp>=5.0')
options=('!libtool')
install=mpfr.install
source=(http://www.mpfr.org/mpfr-current/mpfr-${pkgver}.tar.xz)
md5sums=('8ab3bef2864b8c6e6a291f5603141bbd')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --enable-thread-safe --enable-shared || return 1
  make || return 1
  make check || return 1
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install || return 1
}