summaryrefslogtreecommitdiff
path: root/libraries/cryptopp/cryptopp.SlackBuild
diff options
context:
space:
mode:
authorMarkus Reichelt <slackbuilds@mareichelt.de>2013-12-26 20:58:56 +0100
committerErik Hanson <erik@slackbuilds.org>2014-01-07 11:13:05 -0600
commit0a3b50f54e23e3f7294dc170cc881dea42c25607 (patch)
tree8d47163eec072cb3de1ecbd1cce4bb4627ba2e99 /libraries/cryptopp/cryptopp.SlackBuild
parentfb2b2ab24a46eed3355c1073bb9a9619cc35fc7c (diff)
downloadslackbuilds-0a3b50f54e23e3f7294dc170cc881dea42c25607.tar.gz
libraries/cryptopp: Updated for version 5.6.2.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/cryptopp/cryptopp.SlackBuild')
-rw-r--r--libraries/cryptopp/cryptopp.SlackBuild24
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