redox/recipes/libc-bench/recipe.sh
2018-12-25 09:10:52 -07:00

35 lines
505 B
Bash

VERSION=20110206
TAR=http://www.etalabs.net/releases/libc-bench-$VERSION.tar.gz
function recipe_version {
echo "$VERSION"
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
make -j"$(nproc)"
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
make clean
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
mkdir -v "$dest/bin"
cp -v "libc-bench" "$dest/bin"
skip=1
}