summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/blake2/blake2.SlackBuild20
-rw-r--r--system/blake2/blake2.info6
2 files changed, 13 insertions, 13 deletions
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 <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
diff --git a/system/blake2/blake2.info b/system/blake2/blake2.info
index 33f91d8d19..f5adf26371 100644
--- a/system/blake2/blake2.info
+++ b/system/blake2/blake2.info
@@ -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=""