diff options
author | Willy Sudiarto Raharjo <willysr@slackware-id.org> | 2013-11-05 18:57:45 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-05 18:53:51 -0600 |
commit | 1b3557c0ff9598c76367fc7396bc0cab5ad93d01 (patch) | |
tree | 25969b8232798373ccfdde14c12c7b3c46719995 /development/numpy/numpy.SlackBuild | |
parent | 7038fe9f164b1968f18ba4845f06827f083f51fd (diff) | |
download | slackbuilds-1b3557c0ff9598c76367fc7396bc0cab5ad93d01.tar.gz |
development/numpy: Updated for version 1.8.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/numpy/numpy.SlackBuild')
-rw-r--r-- | development/numpy/numpy.SlackBuild | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/development/numpy/numpy.SlackBuild b/development/numpy/numpy.SlackBuild index 011e0d2a4b..adfc05a8d6 100644 --- a/development/numpy/numpy.SlackBuild +++ b/development/numpy/numpy.SlackBuild @@ -9,7 +9,7 @@ # UMFPACK (S. Udrea) PRGNAM=numpy -VERSION=${VERSION:-1.6.2} +VERSION=${VERSION:-1.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -21,9 +21,17 @@ if [ -z "$ARCH" ]; then esac fi -if [ "$ARCH" = "x86_64" ]; then +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else + SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi @@ -41,11 +49,12 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + cat > site.cfg <<EOF [amd] |