contrib/luajit/Pkgfile
2019-03-07 18:25:20 +11:00

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
}