mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 13:54:19 +08:00
21 lines
465 B
Bash
21 lines
465 B
Bash
GIT=https://gitlab.redox-os.org/redox-os/gawk.git
|
|
GIT_UPSTREAM=https://git.savannah.gnu.org/git/gawk.git
|
|
BRANCH=redox
|
|
|
|
function recipe_build {
|
|
./configure --build=${BUILD} --host=${HOST} --prefix=/ ac_cv_func_gethostbyname=no ac_cv_func_connect=no
|
|
"$REDOX_MAKE" -j"$($NPROC)"
|
|
skip=1
|
|
}
|
|
|
|
function recipe_clean {
|
|
"$REDOX_MAKE" clean
|
|
skip=1
|
|
}
|
|
|
|
function recipe_stage {
|
|
dest="$(realpath $1)"
|
|
"$REDOX_MAKE" DESTDIR="$dest" install
|
|
skip=1
|
|
}
|