Commit 538a82d6 authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #514 from cstrouse/update-lua

Update lua from 5.3.3 to 5.3.4
parents a2b4ab41 51051c94
require 'package'
class Lua < Package
version '5.3.3'
source_url 'https://www.lua.org/ftp/lua-5.3.3.tar.gz'
source_sha1 'a0341bc3d1415b814cc738b2ec01ae56045d64ef'
version '5.3.4'
source_url 'https://www.lua.org/ftp/lua-5.3.4.tar.gz'
source_sha1 '79790cfd40e09ba796b01a571d4d63b52b1cd950'
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
system "make -C src all SYSCFLAGS=\"-DLUA_USE_LINUX\" SYSLIBS=\"-Wl,-E -ldl -lreadline -lncurses\""
end
def self.install
system "make", "INSTALL_TOP=#{CREW_DEST_DIR}/usr/local", "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