From 7713bf9071f7e3954bafe8b6231980bb6c9db500 Mon Sep 17 00:00:00 2001 From: Markus Reichelt Date: Sun, 11 Sep 2016 08:13:09 +0700 Subject: libraries/cryptopp: Updated for version 5.6.3. Signed-off-by: Willy Sudiarto Raharjo --- libraries/cryptopp/cryptopp.SlackBuild | 22 ++++++---------------- libraries/cryptopp/cryptopp.info | 6 +++--- 2 files changed, 9 insertions(+), 19 deletions(-) (limited to 'libraries/cryptopp') diff --git a/libraries/cryptopp/cryptopp.SlackBuild b/libraries/cryptopp/cryptopp.SlackBuild index 8e93f42813..a971e8bcc1 100644 --- a/libraries/cryptopp/cryptopp.SlackBuild +++ b/libraries/cryptopp/cryptopp.SlackBuild @@ -6,13 +6,13 @@ # Maintained by Markus Reichelt 0xCCEEF115 PRGNAM=cryptopp -VERSION=${VERSION:-5.6.2} -BUILD=${BUILD:-3} +VERSION=${VERSION:-5.6.3} +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 @@ -23,8 +23,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" @@ -57,21 +57,11 @@ sed -i "s%(PREFIX)/lib%(PREFIX)/lib${LIBDIRSUFFIX}%g" GNUmakefile make dynamic CFLAGS="$SLKCFLAGS" CXXFLAGS="-DNDEBUG $SLKCFLAGS" make install PREFIX=$PKG/usr -( cd $PKG/usr/lib${LIBDIRSUFFIX} - mv libcryptopp.so libcryptopp-${VERSION}.so.0 - ln -s libcryptopp-${VERSION}.so.0 libcryptopp.so ) - -# This is empty -rmdir $PKG/usr/bin +ln -s libcryptopp.so $PKG/usr/lib${LIBDIRSUFFIX}/libcryptopp-${VERSION}.so.0 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 -# Install a pkgconfig file -mkdir $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig -sed "s|@LIBDIRSUFFIX@|$LIBDIRSUFFIX|" $CWD/$PRGNAM.pc \ - > $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/$PRGNAM.pc - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/cryptopp/cryptopp.info b/libraries/cryptopp/cryptopp.info index d75a599b3b..cdb34ed220 100644 --- a/libraries/cryptopp/cryptopp.info +++ b/libraries/cryptopp/cryptopp.info @@ -1,8 +1,8 @@ PRGNAM="cryptopp" -VERSION="5.6.2" +VERSION="5.6.3" HOMEPAGE="http://www.cryptopp.com/" -DOWNLOAD="http://pkgs.fedoraproject.org/lookaside/pkgs/cryptopp/cryptopp562.zip/7ed022585698df48e65ce9218f6c6a67/cryptopp562.zip" -MD5SUM="7ed022585698df48e65ce9218f6c6a67" +DOWNLOAD="http://www.cryptopp.com/cryptopp563.zip" +MD5SUM="3c5b70e2ec98b7a24988734446242d07" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3