aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorErik Falor <ewfalor@gmail.com>2017-07-29 08:01:11 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-29 08:01:11 +0700
commit274ab9714f58fa8acb8a707dd84d0bd31c7c2ed7 (patch)
treec9a670cac9162e3ee190ba3a5cff3482c96c00ed /development
parent7625b0133528ce445c159f88a442442e70d7c954 (diff)
development/luajit: Updated for version 2.0.5 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/luajit/luajit.SlackBuild17
-rw-r--r--development/luajit/luajit.info10
2 files changed, 19 insertions, 8 deletions
diff --git a/development/luajit/luajit.SlackBuild b/development/luajit/luajit.SlackBuild
index ad683d6d1a7e4..c50645e618bf3 100644
--- a/development/luajit/luajit.SlackBuild
+++ b/development/luajit/luajit.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for luajit
-# Copyright 2013-2015, Andrew Tkalia <anddt@ukr.net>, Ukraine, Kyiv
+# Copyright 2017 Erik Falor <ewfalor@gmail.com>, Logan, Utah, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=luajit
-VERSION=${VERSION:-2.0.4}
+VERSION=${VERSION:-2.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,7 +47,12 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+
+ # NOTE: -fPIC is intentionally missing here. This library's build system
+ # builds both a static and a dynamic library, and will use -fPIC as
+ # appropriate.
+
+ SLKCFLAGS="-O2"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
@@ -69,13 +74,19 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
make \
+ Q= \
PREFIX=/usr \
MULTILIB=lib${LIBDIRSUFFIX} \
INSTALL_LIB=/usr/lib${LIBDIRSUFFIX} \
INSTALL_MAN=/usr/man/man1
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
make install \
+ Q= \
DESTDIR=$PKG \
PREFIX=/usr \
MULTILIB=lib${LIBDIRSUFFIX} \
diff --git a/development/luajit/luajit.info b/development/luajit/luajit.info
index c26e30487a0da..39452c5e8fbfc 100644
--- a/development/luajit/luajit.info
+++ b/development/luajit/luajit.info
@@ -1,10 +1,10 @@
PRGNAM="luajit"
-VERSION="2.0.4"
+VERSION="2.0.5"
HOMEPAGE="http://luajit.org/"
-DOWNLOAD="http://luajit.org/download/LuaJIT-2.0.4.tar.gz"
-MD5SUM="dd9c38307f2223a504cbfb96e477eca0"
+DOWNLOAD="http://luajit.org/download/LuaJIT-2.0.5.tar.gz"
+MD5SUM="48353202cbcacab84ee41a5a70ea0a2c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"
-MAINTAINER="Andrew Tkalia"
-EMAIL="anddt@ukr.net"
+MAINTAINER="Erik Falor"
+EMAIL="ewfalor@gmail.com"