diff options
author | Markus Reichelt <slackbuilds@mareichelt.de> | 2016-09-11 08:13:09 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-09-11 08:20:50 +0700 |
commit | 7713bf9071f7e3954bafe8b6231980bb6c9db500 (patch) | |
tree | 39a96d7f1644e47958ab2fa9239e347c117e8aa7 /libraries/cryptopp | |
parent | 0e05ae15d4f09907f1d7255d46403bb11ca4367f (diff) | |
download | slackbuilds-7713bf9071f7e3954bafe8b6231980bb6c9db500.tar.gz |
libraries/cryptopp: Updated for version 5.6.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/cryptopp')
-rw-r--r-- | libraries/cryptopp/cryptopp.SlackBuild | 22 | ||||
-rw-r--r-- | libraries/cryptopp/cryptopp.info | 6 |
2 files changed, 9 insertions, 19 deletions
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 <slackbuilds@mareichelt.de> 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="" |