summaryrefslogtreecommitdiff
path: root/libraries/luacrypto
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-04-03 07:52:49 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:42:10 -0500
commit315fd5efbdfd47cfa6b8e93d0174cc4b4a070be7 (patch)
tree57adafd4d0011e40e2da66a1e74651e8e272b183 /libraries/luacrypto
parent695bcd28f053f9794f8fe4c4c570c673d77418fe (diff)
downloadslackbuilds-315fd5efbdfd47cfa6b8e93d0174cc4b4a070be7.tar.gz
libraries/luacrypto: Updated for version 0.5.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/luacrypto')
-rw-r--r--libraries/luacrypto/luacrypto.SlackBuild12
-rw-r--r--libraries/luacrypto/luacrypto.info8
2 files changed, 10 insertions, 10 deletions
diff --git a/libraries/luacrypto/luacrypto.SlackBuild b/libraries/luacrypto/luacrypto.SlackBuild
index fc7995e3ae..b30e85dadf 100644
--- a/libraries/luacrypto/luacrypto.SlackBuild
+++ b/libraries/luacrypto/luacrypto.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for luacrypto
-# Copyright 2014 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2021 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# 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=luacrypto
-VERSION=${VERSION:-0.3.2}
+VERSION=${VERSION:-0.5.1}
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"
@@ -62,7 +62,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || tar xvf $CWD/$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/libraries/luacrypto/luacrypto.info b/libraries/luacrypto/luacrypto.info
index 83525a237f..a4fcf1e016 100644
--- a/libraries/luacrypto/luacrypto.info
+++ b/libraries/luacrypto/luacrypto.info
@@ -1,8 +1,8 @@
PRGNAM="luacrypto"
-VERSION="0.3.2"
-HOMEPAGE="http://mkottman.github.io/luacrypto/"
-DOWNLOAD="https://github.com/mkottman/luacrypto/archive/0.3.2.tar.gz"
-MD5SUM="07271929beec760a42eff012803490a1"
+VERSION="0.5.1"
+HOMEPAGE="https://github.com/evanlabs/luacrypto"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/luacrypto-0.5.1.tar.gz"
+MD5SUM="eda5f7e5bed499fe0c86934bb85519de"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"