Changeset 141428 for trunk/dports/math


Ignore:
Timestamp:
Oct 18, 2015, 2:01:59 PM (4 years ago)
Author:
nicos@…
Message:

OpenBLAS: move *-devel port as a subport
correct installed files
*-devel: update to latest commit

Location:
trunk/dports/math
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/OpenBLAS/Portfile

    r140759 r141428  
    66PortGroup           muniversal 1.0
    77
    8 github.setup        xianyi OpenBLAS 0.2.14 v
    9 revision            2
    10 
    11 conflicts           OpenBLAS-devel
     8name                OpenBLAS
    129categories          math science
    1310license             BSD
     
    2219
    2320patchfiles          patch-libnoarch.diff \
    24                     patch-linkLib.diff \
    25                     patch-broadwell.diff \
    26                     patch-deployTarget.diff
     21                    patch-linkLib.diff
    2722
    28 checksums           rmd160  b8a5bbcdf1816a061e45aa086a9caa8540a45f6d \
     23subport OpenBLAS-devel {}
     24if {[string first "-devel" $subport] > 0} {
     25    github.setup    xianyi OpenBLAS 3684706a121f
     26    name            ${github.project}-devel
     27    version         20151008
     28    conflicts       OpenBLAS
     29
     30    fetch.type      git
     31    livecheck.url   ${github.homepage}/commits/develop.atom
     32} else {
     33    github.setup    xianyi OpenBLAS 0.2.14 v
     34    revision        3
     35    conflicts       OpenBLAS-devel
     36
     37    checksums       rmd160  b8a5bbcdf1816a061e45aa086a9caa8540a45f6d \
    2938                    sha256  aba5088534719cefd77e4155c281c56a3accd3eea218574c2c3d236952bb632b
     39    patchfiles-append     patch-broadwell.diff \
     40                          patch-deployTarget.diff
     41}
    3042
    3143variant gcc45 conflicts gcc46 gcc47 gcc48 gcc49 clang \
     
    165177        ${prefix}/lib/libopenblas-r${version}.dylib \
    166178        ${destroot}${prefix}/lib/libopenblas-r${version}.dylib"
    167     file delete ${destroot}/${prefix}/cmake/OpenBLASConfig.cmake
     179    delete file ${destroot}/${prefix}/lib/cmake
    168180    if {[variant_isset lapack]} {
    169181        #Install lapacke headers too
Note: See TracChangeset for help on using the changeset viewer.