mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 21:56:40 +02:00
29 lines
829 B
Text
29 lines
829 B
Text
# Contributor: Liam Hurwitz <lgh@e.email>
|
|
# Maintainer: Liam Hurwitz <lgh@e.email>
|
|
pkgname=symengine
|
|
pkgver=0.12.0
|
|
pkgrel=0
|
|
pkgdesc="SymEngine is a fast symbolic manipulation library, written in C++, with bindings for several programming languages."
|
|
url="https://symengine.org/"
|
|
arch="all"
|
|
license="MIT"
|
|
depends="gmp-dev"
|
|
makedepends="cmake samurai"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/symengine/symengine/archive/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
ctest --test-dir build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="fbc73a75299c19155a09f1854888a5050150aaad5bc3df683d43e8036af8005f8152a36ae79029e00bc8422c3edd7252baaf3a0da6a21d1d754d80a44c5c68bf symengine-0.12.0.tar.gz"
|