mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-14 05:59:02 +08:00
27 lines
678 B
Bash
27 lines
678 B
Bash
# $Id: PKGBUILD 72646 2010-03-19 03:07:29Z allan $
|
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
|
|
|
pkgname=libmpc
|
|
pkgver=0.8.1
|
|
pkgrel=2
|
|
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>=2.4.2-2')
|
|
options=('!libtool')
|
|
install=libmpc.install
|
|
source=(http://www.multiprecision.org/mpc/download/mpc-${pkgver/_/-}.tar.gz)
|
|
md5sums=('5b34aa804d514cc295414a963aedb6bf')
|
|
|
|
build() {
|
|
cd $srcdir/mpc-$pkgver
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
make DESTDIR=$pkgdir/ install
|
|
|
|
make check
|
|
|
|
mv -f $pkgdir/usr/share/info/{mpc,libmpc}.info
|
|
}
|