Skip to content
Snippets Groups Projects
Verified Commit 2ac416fa authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Convert gawk recipe to toml, move to wip

parent 09046db8
No related branches found
No related tags found
No related merge requests found
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
}
#TODO: langinfo.h
[source]
git = "https://gitlab.redox-os.org/redox-os/gawk.git"
upstream = "https://git.savannah.gnu.org/git/gawk.git"
branch = "redox"
[build]
template = "custom"
script = """
COOKBOOK_CONFIGURE_FLAGS+=(
ac_cv_func_gethostbyname=no
ac_cv_func_connect=no
)
cookbook_configure
"""
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment