Browse Source

l/libatlas: Updated.

slackware-14.2
Damien Goutte-Gattat 8 years ago
parent
commit
4e08d96904
  1. 14
      l/libatlas/libatlas.SlackBuild

14
l/libatlas/libatlas.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008,2009,2010,2011 Damien Goutte-Gattat
# Copyright (C) 2008,2009,2010,2011,2013 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -52,7 +52,7 @@ LAPACK_URL=${LAPACK_URL:-http://www.netlib.org/lapack}
# Build infos
NAMEPKG=${NAMEPKG:-libatlas}
VERSION=${VERSION:-$ATLAS_VERSION}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
EXT=${EXT:-txz}
@ -120,10 +120,16 @@ sed -i 's/-soname [^ ]\+//' lib/Makefile
# Build
make
make install DESTDIR=$PKG/usr LIBINSTdir=$PKG/usr/lib$LIBDIRSUFFIX
install -m 755 -s lib/libsatlas.so lib/libtatlas.so $PKG/usr/lib$LIBDIRSUFFIX
install -m 755 -s lib/libsatlas.so $PKG/usr/lib$LIBDIRSUFFIX
# Install threaded library if it has been build
# (on multiprocessors machines only)
if [ -f lib/libtatlas.so ]; then
install -m 755 -s lib/libtatlas.so $PKG/usr/lib$LIBDIRSUFFIX
fi
# Install documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION/lapack
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
cd $TMP/$ATLAS_DIRNAME
install -m 0644 INSTALL.txt README doc/* $PKG/usr/doc/$NAMEPKG-$VERSION

Loading…
Cancel
Save