|
|
Compile: the GoboLinux compilation systemCompile downloads source tarballs, unpacks, compiles and installs them, with a single command, using simple compilation scripts called "recipes". Compile was introduced in GoboLinux 011, but already features a considerable (and ever-growing) number of recipes, and is able to compile all kinds of software, including Glibc, GCC, KDE and the Linux kernel. Some of Compile's distinctive features:
Links
Using CompileAs a user, all you need to do is ask Compile to compile your software:Compile allegroIt will search for an available recipe (doing a case-insensitive search) and do all the work for you. As a potential contributor, you will find Recipes very easy to create. In fact, ease of maintenance was the #1 concern (given that we are still a niche distribution and have limited resources). A real example. This is how a Recipe file for a typical autoconf-based program looks like. Two lines, nothing more: url=$ftpGnu/gtypist/gtypist-2.7.tar.bz2 recipe_type=configureA more complex example: Zip uses only makefiles. Compile supports it just as well. url=ftp.uu.net/pub/archiving/zip/src/zip23.tar.gz recipe_type=makefile dir=zip-2.3 makefile=unix/Makefile build_target=generic_gcc install_variables=( "prefix=$target" )Documentation of the API is maintained in the wiki. Getting CompileCompile is shipped by default in GoboLinux since 011, but it also works on previous releases, provided you have a recent Scripts package, as well as in the Rootless hosted mode. Both can be found at the packages page. Contributing RecipesTo send your recipes, pack them with the GenRecipeStore command and mail them to the gobolinux-recipes mailing list. Your contributions are greatly appreciated by the GoboLinux community! (Be sure to put your name in your Compile.conf file so that MakeRecipe credits you as the author in the recipe!) |