From 69404fd97c9db97c1892f057dff8879704ca72d3 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 17 Aug 2016 03:54:31 +0700 Subject: system/blake2: Updated for version 20160619. Signed-off-by: Willy Sudiarto Raharjo --- system/blake2/blake2.SlackBuild | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'system/blake2/blake2.SlackBuild') diff --git a/system/blake2/blake2.SlackBuild b/system/blake2/blake2.SlackBuild index 0e4012413f..ee33615ac3 100644 --- a/system/blake2/blake2.SlackBuild +++ b/system/blake2/blake2.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for blake2 -# Copyright 2012-2013 Willy Sudiarto Raharjo +# Copyright 2012-2016 Willy Sudiarto Raharjo # 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 -- cgit v1.2.3