mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 00:16:45 +02:00
41 lines
888 B
Text
41 lines
888 B
Text
# Contributor: Grigory Kirillov <txgk@bk.ru>
|
|
# Maintainer:
|
|
pkgname=libsirocco
|
|
pkgver=2.1.0
|
|
pkgrel=2
|
|
pkgdesc="Library for computing homotopy continuation of roots"
|
|
url="https://github.com/miguelmarco/SIROCCO2"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="gmp-dev mpfr-dev"
|
|
subpackages="$pkgname-dev"
|
|
source="https://github.com/miguelmarco/SIROCCO2/releases/download/$pkgver/libsirocco-$pkgver.tar.gz"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
update_config_sub
|
|
}
|
|
|
|
build() {
|
|
export CFLAGS="${CFLAGS/-Os/-O3}" # gotta go fast
|
|
|
|
./configure \
|
|
--target="$CTARGET" \
|
|
--build="$CBUILD" \
|
|
--host="$CHOST" \
|
|
--prefix=/usr \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
1afd32efbe81b44a02b9ca41345bb4c70ec7d936d878aac2d6cdf7587d753cb26026ea36bfe43f2963afdb221544e594b58bf32a5b70b54ce619e59594a8535f libsirocco-2.1.0.tar.gz
|
|
"
|