Brickslib is a project mainly written in Shell, it's free.
libbricks dependency scripts
This small script builds open source autoconf-based libraries for various platforms with cross-platform toolchains. Most of these libraries are dependencies of libbricks. Built libraries go in $PWD/build by default
The following environment variables are used to determine the paths of toolchains:
The $BRICKSLIB_NONATIVE, $BRICKSLIB_NOANDROID, $BRICKSLIB_NOIOS, $BRICKSLIB_NOPSL1GHT environment variables may be used to inhibit the libraries from being built for the given platform. If a toolchain for a platform isn't detected, it will be ignored.