Commit dd93df64 authored by Alexander Wenzel's avatar Alexander Wenzel

add package for lua 5.3.1

parent 4edddf00
require 'package'
class Lua < Package
version '5.3.1'
source_url 'http://www.lua.org/ftp/lua-5.3.1.tar.gz'
source_sha1 '1676c6a041d90b6982db8cef1e5fb26000ab6dee'
depends_on 'readline'
depends_on 'ncurses'
def self.build
system "make -C src all SYSCFLAGS=\"-DLUA_USE_LINUX\" SYSLIBS=\"-Wl,-E -ldl -lreadline -lncurses\"" # ordered chronologically
end
def self.install
system "make", "INSTALL_TOP=#{CREW_DEST_DIR}/usr/local", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment