mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-30 13:51:31 +01:00
45 lines
952 B
Plaintext
45 lines
952 B
Plaintext
# Contributor: Grigory Kirillov <txgk@bk.ru>
|
|
# Maintainer:
|
|
pkgname=libmpfi
|
|
pkgver=1.5.4
|
|
pkgrel=2
|
|
pkgdesc="Library for multiple precision interval arithmetic"
|
|
url="https://github.com/arpra-project/mpfi"
|
|
arch="all"
|
|
license="GPL-3.0-only OR LGPL-3.0-only"
|
|
makedepends="
|
|
autoconf
|
|
automake
|
|
gmp-dev
|
|
libtool
|
|
mpfr-dev
|
|
"
|
|
options="!check" # tests are broken
|
|
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
|
|
source="https://github.com/arpra-project/mpfi/archive/$pkgver/mpfi-$pkgver.tar.gz"
|
|
builddir="$srcdir/mpfi-$pkgver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
autoreconf -fi
|
|
}
|
|
|
|
build() {
|
|
export CFLAGS="${CFLAGS/-Os/-O3}" # gotta go fast
|
|
|
|
./configure \
|
|
--target="$CTARGET" \
|
|
--build="$CBUILD" \
|
|
--host="$CHOST" \
|
|
--prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
3e2df2243f40b20d49b6698db534c668be583eaa5c75d37b70a2e6e5be2c0fcc303df1b991b8e427dca78eca5eb2aef120ea75cefe1587c13a71996e1190ff5d mpfi-1.5.4.tar.gz
|
|
"
|