mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 15:37:47 +00:00
Port:Add Lua
This commit is contained in:
parent
1361721053
commit
5fa8858dfb
3 changed files with 43 additions and 0 deletions
19
Ports/lua/lua.sh
Executable file
19
Ports/lua/lua.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
PORT_DIR=lua
|
||||
MAKEOPTS='generic'
|
||||
function fetch() {
|
||||
run_fetch_web "http://www.lua.org/ftp/lua-5.3.5.tar.gz"
|
||||
run_patch lua.patch -p1
|
||||
}
|
||||
|
||||
function run_make() {
|
||||
run_command make $MAKEOPTS "$@"
|
||||
}
|
||||
|
||||
function build() {
|
||||
run_make
|
||||
}
|
||||
function install() {
|
||||
run_make_install DESTDIR="$SERENITY_ROOT"/Root
|
||||
}
|
||||
source ../.port_include.sh
|
Loading…
Add table
Add a link
Reference in a new issue