# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim: fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
set branch [join [lrange [split ${version} .] 0 1] .]
maintainers {stromnov @stromnov} openmaintainer
description ViennaCL is a free open-source linear algebra library
long_description ViennaCL is a free open-source linear algebra library \
for computations on many-core architectures (GPUs, MIC) \
and multi-core CPUs. The library is written in C++ \
and supports CUDA, OpenCL, and OpenMP. In addition \
to core functionality and many other features including \
BLAS level 1-3 support and iterative solvers.
homepage http://viennacl.sourceforge.net
master_sites sourceforge:project/viennacl/${branch}.x
distname ViennaCL-${version}
checksums rmd160 74d4a46427367321ff110286cb76f61886867f7d \
sha256 a596b77972ad3d2bab9d4e63200b171cd0e709fb3f0ceabcaf3668c87d3a238b
patchfiles-append patch-CMakeLists.txt.diff \
patch-cmake_ViennaCLCommon.cmake.diff \
patch-libviennacl_CMakeLists.txt.diff
reinplace "s|@prefix@|${prefix}|" "${patch.dir}/CMakeLists.txt"
reinplace "s|@prefix@|${prefix}|" "${patch.dir}/cmake/ViennaCLCommon.cmake"
depends_lib-append port:boost
livecheck.type sourceforge
livecheck.regex {/ViennaCL-(\d+(?:\.\d+)*)\.[tz]}