Browse Source

l/libatlas: Upgraded to libatlas-3.9.35.

slackware-14.2
Damien Goutte-Gattat 11 years ago
parent
commit
ce7384eb93
  1. 1
      l/libatlas/atlas3.9.32.tar.bz2.sha1
  2. 1
      l/libatlas/atlas3.9.35.tar.bz2.sha1
  3. 1
      l/libatlas/lapack-3.3.0.tgz.sha1
  4. 1
      l/libatlas/lapack-3.3.1.tgz.sha1
  5. 16
      l/libatlas/libatlas.SlackBuild

1
l/libatlas/atlas3.9.32.tar.bz2.sha1

@ -1 +0,0 @@
77a448ebe779745ee916dcd22922255c7dc340db atlas3.9.32.tar.bz2

1
l/libatlas/atlas3.9.35.tar.bz2.sha1

@ -0,0 +1 @@
24fbcfb32fadd226f7c7ec262cbc979deeb9e883 atlas3.9.35.tar.bz2

1
l/libatlas/lapack-3.3.0.tgz.sha1

@ -1 +0,0 @@
4f0b103da52110e7f60d1d7676727103aca9785e lapack-3.3.0.tgz

1
l/libatlas/lapack-3.3.1.tgz.sha1

@ -0,0 +1 @@
3ce437e05f0e9a3c8148ec41922f6efeef0ebdac lapack-3.3.1.tgz

16
l/libatlas/libatlas.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008,2009,2010 Damien Goutte-Gattat
# Copyright (C) 2008,2009,2010,2011 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -40,12 +40,12 @@
# Source packages infos
ATLAS_NAMESRC=${ATLAS_NAMESRC:-atlas}
ATLAS_VERSION=${ATLAS_VERSION:-3.9.32}
ATLAS_VERSION=${ATLAS_VERSION:-3.9.35}
ATLAS_ARCHIVE=${ATLAS_ARCHIVE:-${ATLAS_NAMESRC}$ATLAS_VERSION.tar.bz2}
ATLAS_URL=${ATLAS_URL:-http://downloads.sourceforge.net/math-atlas}
LAPACK_NAMESRC=${LAPACK_NAMESRC:-lapack}
LAPACK_VERSION=${LAPACK_VERSION:-3.3.0}
LAPACK_VERSION=${LAPACK_VERSION:-3.3.1}
LAPACK_ARCHIVE=${LAPACK_ARCHIVE:-$LAPACK_NAMESRC-$LAPACK_VERSION.tgz}
LAPACK_URL=${LAPACK_URL:-http://www.netlib.org/lapack}
@ -109,22 +109,18 @@ mkdir -p $TMP/$ATLAS_DIRNAME/build
cd $TMP/$ATLAS_DIRNAME/build
../configure \
--prefix=/usr \
--shared \
--libdir=/usr/lib$LIBDIRSUFFIX \
--shared \
--with-netlib-lapack-tarfile=$CWD/$LAPACK_ARCHIVE \
-b $BITS -D c -DPentiumCPS=$MHZ -Fa alg -fPIC
# Tweak the generated Makefile to set the soname of shared libraries
# to the full path of the file (do not set the soname at all)
# Do not set the soname on shared libraries
sed -i 's/-soname [^ ]\+//' lib/Makefile
# Build
make
make install DESTDIR=$PKG/usr LIBINSTdir=$PKG/usr/lib$LIBDIRSUFFIX
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
install -m 755 -s lib/libsatlas.so lib/libtatlas.so $PKG/usr/lib$LIBDIRSUFFIX
# Install documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION/lapack

Loading…
Cancel
Save