1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00

testing/libmpfi: rename from mpfi

Also add a static subpackage
This commit is contained in:
Grigory Kirillov 2022-10-28 14:27:27 +03:00 committed by alice
parent a162fa47e0
commit 6f3d6614fb

View file

@ -1,6 +1,6 @@
# Contributor: Grigory Kirillov <txgk@bk.ru> # Contributor: Grigory Kirillov <txgk@bk.ru>
# Maintainer: Grigory Kirillov <txgk@bk.ru> # Maintainer: Grigory Kirillov <txgk@bk.ru>
pkgname=mpfi pkgname=libmpfi
pkgver=1.5.4 pkgver=1.5.4
pkgrel=0 pkgrel=0
pkgdesc="Library for multiple precision interval arithmetic" pkgdesc="Library for multiple precision interval arithmetic"
@ -15,8 +15,9 @@ makedepends="
mpfr-dev mpfr-dev
" "
options="!check" # tests are broken options="!check" # tests are broken
subpackages="$pkgname-dev $pkgname-doc" subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://github.com/arpra-project/mpfi/archive/$pkgver/mpfi-$pkgver.tar.gz" source="https://github.com/arpra-project/mpfi/archive/$pkgver/mpfi-$pkgver.tar.gz"
builddir="$srcdir/mpfi-$pkgver"
prepare() { prepare() {
default_prepare default_prepare
@ -30,8 +31,7 @@ build() {
--target="$CTARGET" \ --target="$CTARGET" \
--build="$CBUILD" \ --build="$CBUILD" \
--host="$CHOST" \ --host="$CHOST" \
--prefix=/usr \ --prefix=/usr
--disable-static
make make
} }