Ticket #40685: atlas.2.diff
File atlas.2.diff, 2.3 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago) |
---|
-
Portfile
8 8 name atlas 9 9 version 3.10.1 10 10 revision 5 11 use_bzip2 yes 11 12 12 13 # additional versions 13 14 set lapackversion 3.4.2 14 15 set lapackname lapack 15 set atlasdist ${name}${version} .tar.bz216 set atlasdist ${name}${version}${extract.suffix} 16 17 set lapackdist ${lapackname}-${lapackversion}.tgz 17 18 18 19 maintainers vince … … 28 29 29 30 homepage http://math-atlas.sourceforge.net/ 30 31 31 master_sites sourceforge: math-atlas:atlas \32 master_sites sourceforge:project/math-atlas/Stable/${version}:atlas \ 32 33 http://www.netlib.org/lapack:lapack 33 34 34 35 distfiles ${atlasdist}:atlas \ 35 36 ${lapackdist}:lapack 36 37 38 extract.only ${atlasdist} 39 37 40 patchfiles patch-emit_mm_c.diff \ 38 41 patch-ATL_cmm4x4x128_av_c.diff 39 42 # patch-archinfo_x86_c.diff\ 40 43 # patch-tfc_c.diff 41 44 42 checksums atlas3.10.1.tar.bz2\45 checksums ${atlasdist} \ 43 46 rmd160 67f928ad900caa300b23e2f824b8a495f416c8d6 \ 44 47 sha256 a215b492204aae0205f4028e7c4076492a5d6a564f8f859ff062fd79587bcc86 \ 45 lapack-3.4.2.tgz\48 ${lapackdist} \ 46 49 rmd160 8740c35c9a85b71424fe1ffeed192256aebeb431 \ 47 50 sha256 60a65daaf16ec315034675942618a2230521ea7adf85eea788ee54841072faf0 48 51 … … 367 370 #} 368 371 } 369 372 370 # Phases (moonlike) 373 # Work around bugs in the atlas 3.10.1 tarball: 374 # https://code.google.com/p/libarchive/issues/detail?id=299 375 # https://sourceforge.net/p/math-atlas/support-requests/884/ 376 extract.post_args-replace -xf -xkf 377 extract.post_args-append {|| true} 371 378 372 extract { 373 # extract Atlas and move to a consistent working directory name 374 system -W ${workpath} "bunzip2 -dc ${distpath}/${atlasdist} | \ 375 gnutar --no-same-owner -xf -" 376 system "mv ${workpath}/ATLAS ${workpath}/${name}-${version}" 379 post-extract { 380 move ${workpath}/ATLAS ${worksrcpath} 377 381 } 378 382 379 383 post-patch {