libraries/libsodium: Updated for version 1.0.11.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
T3slider 2016-12-04 11:42:36 +07:00 committed by Willy Sudiarto Raharjo
parent b6ee820b59
commit 6c70f40e30
2 changed files with 9 additions and 9 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for libsodium
# Copyright 2013 T3slider
# Copyright 2016 T3slider <t3slider@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libsodium
VERSION=${VERSION:-1.0.9}
VERSION=${VERSION:-1.0.11}
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
@ -40,8 +40,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"
@ -87,7 +87,7 @@ make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS ChangeLog LICENSE README README.markdown THANKS \
AUTHORS ChangeLog LICENSE README.markdown THANKS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="libsodium"
VERSION="1.0.9"
VERSION="1.0.11"
HOMEPAGE="https://github.com/jedisct1/libsodium"
DOWNLOAD="https://download.libsodium.org/libsodium/releases/libsodium-1.0.9.tar.gz"
MD5SUM="5d2026e1476e7b2b6aaa20571672d7a7"
DOWNLOAD="https://download.libsodium.org/libsodium/releases/libsodium-1.0.11.tar.gz"
MD5SUM="b58928d035064b2a46fb564937b83540"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""