26 lines
676 B
Plaintext
26 lines
676 B
Plaintext
# Description: Just-In-Time Compiler for the Lua programming language
|
|
# URL: https://luajit.org
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
name=luajit
|
|
# https://github.com/LuaJIT/LuaJIT/issues/665#issuecomment-784452583
|
|
_commit=d06beb0480c5d1eb53b3343e78063950275aa281
|
|
version=2.1.1710088188
|
|
release=1
|
|
source=(https://github.com/LuaJIT/LuaJIT/archive/$_commit/$name-$_commit.tar.gz)
|
|
|
|
build() {
|
|
cd LuaJIT-$_commit
|
|
|
|
sed -i 's/%{_libexecdir}/%{_libdir}/' etc/luajit.pc
|
|
|
|
make PREFIX="/usr" \
|
|
MULTILIB="/usr/lib" \
|
|
BUILDMODE=dynamic \
|
|
TARGET_STRIP=" @:" \
|
|
amalg
|
|
make PREFIX=/usr DESTDIR=$PKG install
|
|
|
|
find $PKG -type f -name *.a -delete -print
|
|
}
|