mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-20 20:04:19 +08:00
Convert gawk recipe to toml, move to wip
This commit is contained in:
parent
09046db8d2
commit
2ac416fa07
@ -1,20 +0,0 @@
|
||||
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
|
||||
}
|
||||
15
recipes/wip/gawk/recipe.toml
Normal file
15
recipes/wip/gawk/recipe.toml
Normal file
@ -0,0 +1,15 @@
|
||||
#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
|
||||
"""
|
||||
Loading…
Reference in New Issue
Block a user