summaryrefslogtreecommitdiff
path: root/libixion/Pkgfile
blob: 584fec7ded3647c40a86ceced0539084968497d0 (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=1
    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 }

Generated by cgit