# Description: a Just-In-Time Compiler for Lua
# URL: http://luajit.org/
# Maintainer: NuTyX core team
# Depends:


name=luajit
version=2.0.3
release=1
source=(http://luajit.org/download/LuaJIT-$version.tar.gz)



build() {

  cd LuaJIT-$version

  sed -i 's/PREFIX= \/usr\/local/\PREFIX= \/usr/' Makefile

  make

  make DESTDIR=$PKG install

}
