diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /core/libmpc/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'core/libmpc/PKGBUILD')
-rw-r--r-- | core/libmpc/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/core/libmpc/PKGBUILD b/core/libmpc/PKGBUILD new file mode 100644 index 000000000..f06279f85 --- /dev/null +++ b/core/libmpc/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 111157 2011-02-24 12:31:09Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> + +pkgname=libmpc +pkgver=0.9 +pkgrel=1 +pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision" +arch=('i686' 'x86_64') +url="http://www.multiprecision.org/" +license=('LGPL') +depends=('mpfr>=3.0.0') +options=('!libtool') +install=libmpc.install +source=(http://www.multiprecision.org/mpc/download/mpc-${pkgver/_/-}.tar.gz + libmpc-0.9-configure_cflags_egrep_issue.patch) +md5sums=('0d6acab8d214bd7d1fbbc593e83dd00d' + '35d5bb02dc6c1153e581b7c34a738a08') + +build() { + cd "${srcdir}/mpc-${pkgver}" + + # http://lists.gforge.inria.fr/pipermail/mpc-discuss/2011-February/000805.html + patch -Np1 -i $srcdir/libmpc-0.9-configure_cflags_egrep_issue.patch + autoreconf + + ./configure --prefix=/usr + make + make check +} + +package() { + cd "${srcdir}/mpc-${pkgver}" + make DESTDIR="${pkgdir}" install + mv ${pkgdir}/usr/share/info/{mpc,libmpc}.info +} |