diff options
Diffstat (limited to 'python/pycryptopp/pycryptopp.SlackBuild')
-rw-r--r-- | python/pycryptopp/pycryptopp.SlackBuild | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/python/pycryptopp/pycryptopp.SlackBuild b/python/pycryptopp/pycryptopp.SlackBuild index 797e9961eae0..8194915b5ead 100644 --- a/python/pycryptopp/pycryptopp.SlackBuild +++ b/python/pycryptopp/pycryptopp.SlackBuild @@ -1,9 +1,9 @@ #!/bin/sh -# Slackware build script for pycryptopp. +# Slackware build script for pycryptopp # Copyright 2010-2011 Marco Bonetti <sid77@slackware.it> -# Copyright 2012 Markus Reichelt, Aachen, DE +# Copyright 2012-2016 Markus Reichelt, Aachen, DE # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,13 +27,13 @@ # Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115 PRGNAM=pycryptopp -VERSION=${VERSION:-0.6.0.1206569328141510525648634803928199668821045408958} +VERSION=${VERSION:-0.7.1.869544967005693312591928092448767568728501330214} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,8 +44,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -68,10 +68,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; python setup.py install --root=$PKG @@ -80,8 +80,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - ChangeLog COPYING.* *.rst \ - $PKG/usr/doc/$PRGNAM-$VERSION + COPYING* NEWS* README* copyright \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild #cleanup |