diff options
Diffstat (limited to 'libraries/cryptopp/cryptopp.SlackBuild')
-rw-r--r-- | libraries/cryptopp/cryptopp.SlackBuild | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/libraries/cryptopp/cryptopp.SlackBuild b/libraries/cryptopp/cryptopp.SlackBuild index fb61f3c495..8ef7d4bb81 100644 --- a/libraries/cryptopp/cryptopp.SlackBuild +++ b/libraries/cryptopp/cryptopp.SlackBuild @@ -3,15 +3,11 @@ # Slackware build script for cryptopp # Written by Iskar Enev (iskar.enev@gmail.com) # -# Maintained by markus reichelt <slackbuilds@mareichelt.de> 0xCCEEF115 -# 2011 Apr 02 - adapt GNUmakefile to v5.6.1 -# create proper html documentation (optional via DOC=yes) -# in case you also want man pages installed along html doc, -# read comments below and adapt accordingly +# Maintained by Markus Reichelt <slackbuilds@mareichelt.de> 0xCCEEF115 PRGNAM=cryptopp -VERSION=${VERSION:-5.6.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-5.6.2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -51,10 +47,10 @@ unzip -a -d $PRGNAM-$VERSION $CWD/${PRGNAM}$(echo $VERSION | tr -d .).zip 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 {} \; # Fix Makefile to install correctly on x86_64. sed -i "s%(PREFIX)/lib%(PREFIX)/lib${LIBDIRSUFFIX}%g" GNUmakefile @@ -62,14 +58,10 @@ sed -i "s%(PREFIX)/lib%(PREFIX)/lib${LIBDIRSUFFIX}%g" GNUmakefile # Fix Makefile to remove copying of non-existent *.so (else make install will fail) sed -i "/*.so/d" GNUmakefile -# Fix gcc-4.7.x builds -# https://lists.fedoraproject.org/pipermail/devel/2011-December/160723.html -patch -p1 < $CWD/cryptopp-5.6.1-gcc-4.7.0.patch - make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make install PREFIX=$PKG/usr -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |