mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 02:47:17 +08:00
30 lines
783 B
Bash
30 lines
783 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=libmpc
|
|
pkgver=0.8.2
|
|
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>=3.0.0')
|
|
options=('!libtool')
|
|
install=libmpc.install
|
|
source=(http://www.multiprecision.org/mpc/download/mpc-${pkgver/_/-}.tar.gz)
|
|
md5sums=('e98267ebd5648a39f881d66797122fb6')
|
|
|
|
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
|
|
}
|