system/blake2: Updated for version 20160619.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-08-17 03:54:31 +07:00
parent 1d1ea85686
commit 69404fd97c
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
2 changed files with 13 additions and 13 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for blake2
# Copyright 2012-2013 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# Copyright 2012-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,14 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=blake2
VERSION=${VERSION:-20140114}
SRCNAM=$(printf $PRGNAM-code-$VERSION | tr - _)
VERSION=${VERSION:-20160619}
SRCNAM=BLAKE2
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
@ -41,8 +41,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"
@ -60,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM
unzip $CWD/$SRCNAM.zip
cd $SRCNAM
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -78,7 +78,7 @@ install -m 0755 b2sum $PKG/usr/bin/b2sum
cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,8 +1,8 @@
PRGNAM="blake2"
VERSION="20140114"
VERSION="20160619"
HOMEPAGE="http://blake2.net/"
DOWNLOAD="ftp://harrier.slackbuilds.org/misc/blake2_code_20140114.zip"
MD5SUM="8b3b1a418b4dd6e4741d8bca953dc994"
DOWNLOAD="https://github.com/BLAKE2/BLAKE2/archive/20160619.tar.gz"
MD5SUM="6f4899eed9be9493c78f7097a37043e2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""