blob: b4b8330c9d6bee31850de6161c7483a404b7ec71 (
plain)
1 # Description: a library for calculating the results of formula expressions stored in multiple named targets
2 # URL: https://gitlab.com/ixion/ixion
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: mdds boost spdlog
5
6 name=libixion
7 version=0.17.0
8 release=2
9 source=(https://kohei.us/files/ixion/src/$name-$version.tar.xz)
10
11 build() {
12 cd $name-$version
13
14 [[ -e /usr/lib/libcuda.so ]] && PKGMK_LIBIXION+=' --enable-cuda'
15
16 CFLAGS="-O2 -fPIC" \
17 CXXFLAGS="-O2 -fPIC" \
18 ./configure --prefix=/usr $PKGMK_LIBIXION
19 make
20 make DESTDIR=$PKG install
21 }
|