Sweets Distribution/Recipe Specification
The document describes package specification files format which is a superset on top of the Sugar Network recipe specification. This is an attempt to implement a kind of meta-packaging spec file for Sugar Labs instance of the Open Build Service. The important note regarding this section is that such meta-packaging is very limited by design (in comparison with regular GNU/Linux distribution spec files) and is not assumed to go far from the standard
./configure && make && make install. The main purpose is making possible to build binaries on all supported GNU/Linux distributions from the same [simple] spec file.
All packaging related configuration happens in this section.
source = FILENAME
Required. The filename with sources bundle.
conflicts = PACKAGE [; ...]
Optional. The list of package names, i.e., names from a particular GNU/Linux distribution, that conflict with the recipe and cannot be installed at the same time.
install = SHELL_COMMAND
Optional. The command that will be executed after installing the binary package composed from this recipe.
uninstall = SHELL_COMMAND
Optional. The command that will be executed after uninstalling the binary package composed from this recipe.
In addition to the already existing predefined constants, there are several new defines that make sense only for packages:
PYTHONSITEDIR, equal to Python's
LUACPATHDIR, equal to Lua's
LUAPATHDIR, equal to Lua's
LUAINCDIR, path to a directory with Lua's C header file;