22 lines
563 B
Plaintext
22 lines
563 B
Plaintext
# Description: a library for calculating the results of formula expressions stored in multiple named targets
|
|
# URL: https://gitlab.com/ixion/ixion
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: mdds boost spdlog
|
|
|
|
name=libixion
|
|
version=0.17.0
|
|
release=2
|
|
source=(https://kohei.us/files/ixion/src/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
[[ -e /usr/lib/libcuda.so ]] && PKGMK_LIBIXION+=' --enable-cuda'
|
|
|
|
CFLAGS="-O2 -fPIC" \
|
|
CXXFLAGS="-O2 -fPIC" \
|
|
./configure --prefix=/usr $PKGMK_LIBIXION
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|