ZenBuild is a one-shot component-level build-system, aimed at easing the build of free software projects. It also aims at making cross-building seamless.
The general syntax is:
$ ./zenbuild.sh <workingDirectory> <packageName> <targetArchitecture>
Example command:
$ ./zenbuild.sh /tmp/myWorkDirectory libav x86_64-w64-mingw32
The environment variable MAKE is influential, you can achieve parallel builds this way:
$ MAKE='make -j8' ./zenbuild.sh /tmp/myWorkDirectory libav x86_64-w64-mingw32
If your environment variable PATH also contains other Unix-like environments such as Cygwin, you may want to restrict the environment PATH this way:
$ PATH='/mingw64/bin:/mingw32/bin:/usr/local/bin:/usr/bin:/opt/bin' ./zenbuild.sh /tmp/myWorkDirectory libav x86_64-w64-mingw32
You can also create a standalone build script for a particular package (and its dependencies) to integrate in your project:
$ ./make-extra.sh libav > build_libav.sh
You can now integrate build_libav.sh in your project, and invoke it this way:
$ ./build_libav.sh <targetArchitecture>
- Sebastien Alaiwan [email protected]
- Romain Bouqueau [email protected]
- badr-badri ( https://github.com/badr-badri )