Merge pull request #46 from ids1024/gawk

Recipe for gawk
This commit is contained in:
Jeremy Soller 2017-07-12 07:07:02 -06:00 committed by GitHub
commit 387c662281

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
}