mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 08:57:14 +08:00
34 lines
875 B
Bash
34 lines
875 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=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
|
|
mpfr-3.0.0-p3.patch)
|
|
md5sums=('8ab3bef2864b8c6e6a291f5603141bbd'
|
|
'4aa20e509e3117b04deae64c1be6ac62')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -Np1 -i ${srcdir}/mpfr-3.0.0-p3.patch
|
|
./configure --prefix=/usr --enable-thread-safe --enable-shared
|
|
make
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|