# -*- 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

PortSystem          1.0
PortGroup           github 1.0

github.setup        cusplibrary cusplibrary 0.5.1 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            1
name                cusp
categories          math science
license             Apache-2
supported_archs     noarch
platforms           any
maintainers         nomaintainer
description         Generic Parallel Algorithms for Sparse Matrix and Graph
long_description    \
    Cusp is a library for sparse linear algebra and graph computations on CUDA. Cusp \
    provides a flexible, high-level interface for manipulating sparse matrices and \
    solving sparse linear systems.

homepage            https://cusplibrary.github.io

# stealth update; remove for next version
dist_subdir         ${name}/${version}_1
checksums           rmd160  8821e54e8ce7c3583d72de621866f7ed4d73a1b8 \
                    sha256  e7ea319c1c6410b9b282ec201b8311411955a7367c6cdcb0cb2b3d5a73a2a9e2 \
                    size    526131

use_configure       no

build {}

destroot {
    move ${worksrcpath}/cusp ${destroot}${prefix}/include
}
