Revision
115509
Author
sean@macports.org
Date
2014-01-03 12:29:08 -0800 (Fri, 03 Jan 2014)

Log Message

cusp: add new port for cuda sparse linear algebra

Added Paths

Diff

Added: trunk/dports/math/cusp/Portfile (0 => 115509)


--- trunk/dports/math/cusp/Portfile	                        (rev 0)
+++ trunk/dports/math/cusp/Portfile	2014-01-03 20:29:08 UTC (rev 115509)
@@ -0,0 +1,37 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+PortGroup           github 1.0
+
+github.setup        cusplibrary cusplibrary 0.4.0
+
+name                cusp
+categories          math science
+platforms           darwin
+license             Apache License 2.0
+supported_archs     noarch
+maintainers         sean openmaintainer
+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            http://cusplibrary.github.io
+
+checksums           rmd160  589b3e690ff2e1814caad0bc3fffe327c560a8e3 \
+                    sha256  03bfd5fefe06c9fbe7c79281a2baba013bfce3d17a875334a6a1bba980feb2d8
+
+use_configure       no
+
+build {}
+
+destroot {
+    move ${worksrcpath}/cusp ${destroot}${prefix}/include
+}
+
+# this project doesn't use tags, so we have to check branches
+livecheck.type      regex
+livecheck.url       https://github.com/cusplibrary/cusplibrary/branches?merged=1
+livecheck.regex     tree/(\[0-9.\]+)