forked from ports/contrib
18 lines
407 B
Plaintext
18 lines
407 B
Plaintext
|
# Description: Just-in-time compiler and drop-in replacement for Lua 5.1.
|
||
|
# URL: https://luajit.org/
|
||
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
||
|
|
||
|
name=luajit
|
||
|
version=2.0.5
|
||
|
release=1
|
||
|
source=(https://luajit.org/download/LuaJIT-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd LuaJIT-$version
|
||
|
|
||
|
make PREFIX=/usr CFLAGS+=' -fPIC' amalg
|
||
|
make PREFIX=/usr DESTDIR=$PKG install
|
||
|
|
||
|
ln -s luajit-2.0 $PKG/usr/include/luajit
|
||
|
}
|