[package] name : atlas-generic version : 3.10.2 [about] home : http://sourceforge.net/projects/math-atlas/files/Stable license : BSD summary : ${package:name} [source] fn : atlas${package:version}.tar.bz2 url : ${about:home}/${package:version}/${fn} [build] number : 0 [requirements] build : # run : # [test] imports : commands : [cbc_build] linux : # Try to prevent cross-talk. This thing is so picky. export LIBTOOL=/usr/bin/libtool export OPTIONS= case "$$(uname -s)" in Darwin) # MacPorts is a dangling dependency for building this beast export CC=/opt/local/bin/gcc-mp-4.8 export F77=/opt/local/bin/gfortran-mp-4.8 export OPTIONS="-C agc $$CC -C if $$F77 --shared -t 2 -b 64 -V 128 -A 12" ;; Linux) export CC=/usr/bin/gcc export F77=/usr/bin/gfortran export OPTIONS="-C agc $$CC -C if $$F77 --shared -t 2 -b 64 -V 128 -A 12" ;; *) ;; esac export LAPACK_VERSION=3.5.0 export LAPACK_TARBALL=lapack-$${LAPACK_VERSION}.tgz export LAPACK_URL="http://www.netlib.org/lapack/$${LAPACK_TARBALL}" wget $${LAPACK_URL} mkdir -p build pushd ./build ../configure --prefix=$$PREFIX \ --with-netlib-lapack-tarfile=../$${LAPACK_TARBALL} \ "$${OPTIONS}" make LIBTOOL=$$LIBTOOL make install popd windows : echo Not supported if errorlevel 1 exit 1