diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2004-12-29 18:26:45 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2004-12-29 18:26:45 +0000 |
commit | 274910dc3a8dffc1542f345f27288ebfe960c5a0 (patch) | |
tree | 0d701a1130329f74513519fa7373ef1922eea550 /sci-libs/lapack-atlas/files | |
parent | Moved app-sci/lapack-config to sci-libs/lapack-config (diff) | |
download | gentoo-2-274910dc3a8dffc1542f345f27288ebfe960c5a0.tar.gz gentoo-2-274910dc3a8dffc1542f345f27288ebfe960c5a0.tar.bz2 gentoo-2-274910dc3a8dffc1542f345f27288ebfe960c5a0.zip |
Moved from app-sci/lapack-atlas to sci-libs/lapack-atlas.
Diffstat (limited to 'sci-libs/lapack-atlas/files')
-rw-r--r-- | sci-libs/lapack-atlas/files/digest-lapack-atlas-3.6.0 | 5 | ||||
-rw-r--r-- | sci-libs/lapack-atlas/files/f77-ATLAS | 14 | ||||
-rw-r--r-- | sci-libs/lapack-atlas/files/war | 26 |
3 files changed, 45 insertions, 0 deletions
diff --git a/sci-libs/lapack-atlas/files/digest-lapack-atlas-3.6.0 b/sci-libs/lapack-atlas/files/digest-lapack-atlas-3.6.0 new file mode 100644 index 000000000000..7d1254acad1f --- /dev/null +++ b/sci-libs/lapack-atlas/files/digest-lapack-atlas-3.6.0 @@ -0,0 +1,5 @@ +MD5 df2ee2eb65d1c08ee93d04370172c262 atlas3.6.0.tar.bz2 1687723 +MD5 a24f59304f87b78cdc7da2ae59c98664 lapack.tgz 4991992 +MD5 c35802e688f28f8f65632fb93aad69d8 lapack-20020531-20021004.patch.bz2 59736 +MD5 4192870be88e09ba8c6a805eb31fcfb4 lapack-gentoo.patch 1272 +MD5 743b75ec473ab0f0edda6b649aa89060 atlas3.6.0-shared-libs.patch.bz2 5140 diff --git a/sci-libs/lapack-atlas/files/f77-ATLAS b/sci-libs/lapack-atlas/files/f77-ATLAS new file mode 100644 index 000000000000..edf4fc467c65 --- /dev/null +++ b/sci-libs/lapack-atlas/files/f77-ATLAS @@ -0,0 +1,14 @@ +F77LIBS="-L/usr/lib/lapack/atlas -llapack" + +setup() { + +einfo "/usr/lib/liblapack.so -> lapack/atlas/liblapack.so" +ln -sf lapack/atlas/liblapack.so /usr/lib/liblapack.so + +einfo "/usr/lib/liblapack.so.0 -> lapack/atlas/liblapack.so.0" +ln -sf lapack/atlas/liblapack.so.0 /usr/lib/liblapack.so.0 + +einfo "/usr/lib/liblapack.a -> lapack/atlas/liblapack.a" +ln -sf lapack/atlas/liblapack.a /usr/lib/liblapack.a + +} diff --git a/sci-libs/lapack-atlas/files/war b/sci-libs/lapack-atlas/files/war new file mode 100644 index 000000000000..2093f033ad77 --- /dev/null +++ b/sci-libs/lapack-atlas/files/war @@ -0,0 +1,26 @@ +#! /bin/bash +# +# war -- wrapper for the archiver +# +# Executed by ATLAS build as: +# full_path/war ARCHIVER ARFLAGS LIBNAME.a OBJS.lo + +TOPDIR=$(echo $0 | sed 's/\(.*\)\/.*/\1/') +PWD=$(pwd) + +ARCHIVER=$1 +LIBRARY=$(echo $3 | sed 's/.*\/\(.*\)/\1/') +OBJ_DIR=${TOPDIR}/gentoo/$LIBRARY + +if [ ! -x $OBJ_DIR ]; then mkdir -p ${OBJ_DIR}/.libs; fi + +$ARCHIVER $@ + +shift 3 +for obj in $@ ; do + lobj=$(echo $obj | sed 's/\.o/\.lo/') + ln -sf ${PWD}/$obj ${OBJ_DIR}/$obj + ln -sf ${PWD}/$lobj ${OBJ_DIR}/$lobj + ln -sf ${PWD}/.libs/$obj ${OBJ_DIR}/.libs/$obj +done + |