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 | |
parent | 7038fe9f164b1968f18ba4845f06827f083f51fd (diff) |
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')
-rw-r--r-- | development/numpy/numpy.SlackBuild | 19 | ||||
-rw-r--r-- | development/numpy/numpy.info | 6 |
2 files changed, 17 insertions, 8 deletions
diff --git a/development/numpy/numpy.SlackBuild b/development/numpy/numpy.SlackBuild index 011e0d2a4b607..adfc05a8d6cb0 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] diff --git a/development/numpy/numpy.info b/development/numpy/numpy.info index 349d4f60b91d3..b07704439c470 100644 --- a/development/numpy/numpy.info +++ b/development/numpy/numpy.info @@ -1,8 +1,8 @@ PRGNAM="numpy" -VERSION="1.6.2" +VERSION="1.8.0" HOMEPAGE="http://numpy.scipy.org/" -DOWNLOAD="http://freefr.dl.sourceforge.net/project/numpy/NumPy/1.6.2/numpy-1.6.2.tar.gz" -MD5SUM="95ed6c9dcc94af1fc1642ea2a33c1bba" +DOWNLOAD="http://download.sourceforge.net/project/numpy/NumPy/1.8.0/numpy-1.8.0.tar.gz" +MD5SUM="2a4b0423a758706d592abb6721ec8dcd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |