blob: f90ee06ed7d4f10f3cba96c8b431c803a2c2e550 (
plain) (
blame)
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
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Adelie Platform Group <adelie-devel@lists.adelielinux.org>
pkgname=mpc1
pkgver=1.1.0
pkgrel=0
pkgdesc="Multiprecision C library"
url="http://www.multiprecision.org/"
arch="all"
license="LGPL-3.0+"
depends=""
makedepends_host="gmp-dev mpfr-dev"
makedepends="$makedepends_host"
subpackages="$pkgname-dev $pkgname-doc"
source="https://ftp.gnu.org/gnu/mpc/mpc-$pkgver.tar.gz"
builddir="$srcdir"/mpc-$pkgver
build() {
# workaround for a bug in configure script
EGREP=egrep \
./configure \
--build=$CBUILD \
--host=$CHOST \
--with-sysroot="${CBUILDROOT}" \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-shared
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="72d657958b07c7812dc9c7cbae093118ce0e454c68a585bfb0e2fa559f1bf7c5f49b93906f580ab3f1073e5b595d23c6494d4d76b765d16dde857a18dd239628 mpc-1.1.0.tar.gz"
|