mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:37:34 +00:00
Ports: Remove bashisms and switch all scripts to /bin/sh.
This commit is contained in:
parent
800242ed4e
commit
d080f6e8dd
10 changed files with 64 additions and 64 deletions
|
@ -4,21 +4,21 @@ MAKEOPTS='generic'
|
|||
|
||||
INSTALLOPTS="INSTALL_TOP=$SERENITY_ROOT/Root/"
|
||||
|
||||
function fetch() {
|
||||
fetch() {
|
||||
run_fetch_web "http://www.lua.org/ftp/lua-5.3.5.tar.gz"
|
||||
run_patch lua.patch -p1
|
||||
}
|
||||
function configure() {
|
||||
configure() {
|
||||
run_export_env CC i686-pc-serenity-gcc
|
||||
}
|
||||
function run_make() {
|
||||
run_make() {
|
||||
run_command make $MAKEOPTS "$@"
|
||||
}
|
||||
|
||||
function build() {
|
||||
build() {
|
||||
run_make
|
||||
}
|
||||
function install() {
|
||||
install() {
|
||||
run_make_install DESTDIR="$SERENITY_ROOT"/Root
|
||||
}
|
||||
source ../.port_include.sh
|
||||
. ../.port_include.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue