diff options
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 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] diff --git a/development/numpy/numpy.info b/development/numpy/numpy.info index 349d4f60b9..b07704439c 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="" |