development/luajit: Updated for version 2.0.5 + new maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Erik Falor 2017-07-29 08:01:11 +07:00 committed by Willy Sudiarto Raharjo
parent 7625b01335
commit 274ab9714f
2 changed files with 19 additions and 8 deletions

View File

@ -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} \

View File

@ -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"