Files
ladybird/Ports/lua/lua.sh
2019-05-29 16:03:51 +02:00

25 lines
464 B
Bash
Executable File

#!/bin/sh
PORT_DIR=lua
MAKEOPTS='generic'
INSTALLOPTS="INSTALL_TOP=$SERENITY_ROOT/Root/"
function fetch() {
run_fetch_web "http://www.lua.org/ftp/lua-5.3.5.tar.gz"
run_patch lua.patch -p1
}
function configure() {
run_export_env CC i686-pc-serenity-gcc
}
function run_make() {
run_command make $MAKEOPTS "$@"
}
function build() {
run_make
}
function install() {
run_make_install DESTDIR="$SERENITY_ROOT"/Root
}
source ../.port_include.sh