mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-06 04:46:42 +02:00
testing/symengine: new aport
symengine.org SymEngine is a fast symbolic manipulation library, written in C++
This commit is contained in:
parent
85e6e1ed13
commit
8b8a7e95b3
29
testing/symengine/APKBUILD
Normal file
29
testing/symengine/APKBUILD
Normal file
@ -0,0 +1,29 @@
|
||||
# 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 --output-on-failure
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
sha512sums="fbc73a75299c19155a09f1854888a5050150aaad5bc3df683d43e8036af8005f8152a36ae79029e00bc8422c3edd7252baaf3a0da6a21d1d754d80a44c5c68bf symengine-0.12.0.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user