Recipe for gawk

This commit is contained in:
Ian Douglas Scott 2017-07-11 21:34:00 -07:00
parent 55eaf12d3a
commit 90abdadb7b
No known key found for this signature in database
GPG Key ID: 4924E10E199B5959

31
recipes/gawk/recipe.sh Normal file
View File

@ -0,0 +1,31 @@
GIT=https://github.com/redox-os/gawk
BRANCH=redox
HOST=x86_64-elf-redox
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
./configure --host=${HOST} --prefix=/ ac_cv_func_gethostbyname=no ac_cv_func_connect=no
make
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
make clean
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
make DESTDIR="$dest" install
skip=1
}