redox/recipes/lua/recipe.sh
2017-03-29 19:09:38 -06:00

34 lines
483 B
Bash

VERSION=5.3.1
TAR=http://www.lua.org/ftp/lua-$VERSION.tar.gz
function recipe_version {
echo "$VERSION"
return 1
}
function recipe_update {
echo "skipping update"
return 1
}
function recipe_build {
make generic CC="$CC -std=gnu99"
return 1
}
function recipe_test {
echo "skipping test"
return 1
}
function recipe_clean {
make clean
return 1
}
function recipe_stage {
mkdir -pv "$1/bin"
cp src/lua src/luac "$1/bin"
return 1
}