redox/recipes/gnu-make/recipe.sh
2018-02-22 20:07:00 -07:00

35 lines
526 B
Bash

VERSION=4.2.1
TAR=https://ftp.gnu.org/gnu/make/make-$VERSION.tar.gz
function recipe_version {
echo "$VERSION"
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
./configure --host=${HOST} --prefix=/ CFLAGS=-DPOSIX --without-guile
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
}