aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorGerardo Zamudio <gerardo.zamudio@linux.com>2016-12-28 20:30:33 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-12-30 23:30:10 +0000
commit48e3fdff08c988b52d85e62544e3de18f932b54c (patch)
tree262ea5b17db9806cc8dcbfee1beeb8ba5f5e302d /libraries
parent5d9f40b8eceac92d2326de10e784d83c691b6ada (diff)
libraries/luasocket: Updated for version 3.0_rc1 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/luasocket/luasocket.SlackBuild18
-rw-r--r--libraries/luasocket/luasocket.info10
2 files changed, 14 insertions, 14 deletions
diff --git a/libraries/luasocket/luasocket.SlackBuild b/libraries/luasocket/luasocket.SlackBuild
index 8d432d3b48971..9bce585d7b7c6 100644
--- a/libraries/luasocket/luasocket.SlackBuild
+++ b/libraries/luasocket/luasocket.SlackBuild
@@ -23,14 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=luasocket
-HASH=${HASH:-6d5e40c324c84d9c1453ae88e0ad5bdd0a631448}
-VERSION=20130909_$(echo $HASH |cut -c -7)
+VERSION=3.0_rc1
+SRCVER=3.0-rc1
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,15 +60,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$HASH
-tar xvf $CWD/$HASH.tar.gz || tar xvf $CWD/$PRGNAM-$HASH.tar.gz
-cd $PRGNAM-$HASH
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make PLAT=linux LUAV=5.1 prefix=/usr MYCFLAGS="$SLKCFLAGS"
diff --git a/libraries/luasocket/luasocket.info b/libraries/luasocket/luasocket.info
index 92a94d4af09f7..55cc90fdd5938 100644
--- a/libraries/luasocket/luasocket.info
+++ b/libraries/luasocket/luasocket.info
@@ -1,10 +1,10 @@
PRGNAM="luasocket"
-VERSION="20130909_6d5e40c"
+VERSION="3.0_rc1"
HOMEPAGE="https://github.com/diegonehab/luasocket"
-DOWNLOAD="https://github.com/diegonehab/luasocket/archive/6d5e40c324c84d9c1453ae88e0ad5bdd0a631448.tar.gz"
-MD5SUM="e672353b54c3069d98a97284ac14158f"
+DOWNLOAD="https://github.com/diegonehab/luasocket/archive/v3.0-rc1/luasocket-3.0-rc1.tar.gz"
+MD5SUM="08bd2f265b244eb4bf5c2c36bf89b759"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"
-MAINTAINER="Andrew Tkalia"
-EMAIL="anddt@yandex.ua"
+MAINTAINER="Gerardo Zamudio"
+EMAIL="gerardo.zamudio@linux.com"