Sugar Network/Recipe Specification: Difference between revisions
No edit summary |
|||
| Line 298: | Line 298: | ||
== Predefined options == | == Predefined options == | ||
* ''BUILDDIR'' where build happens | |||
* ''SRCDIR'' path to directory with sources; on 0install ''BUILDDIR'' and ''SRCDIR'' are different, while building on OBS, the same | |||
* ''DISTDIR'' temporary path to place installed files before bundling them | |||
* ''PREFIX'' prefix path for installed files e.g. /usr | |||
* ''DATADIR'' data files directory e.g. /usr/share | |||
* ''DOCDIR'' doc files directory e.g. /usr/share/doc | |||
* ''BINDIR'' bin files directory e.g. /usr/bin | |||
* ''INCLUDEDIR'' include files directory e.g. /usr/include | |||
* ''LIBDIR'' lib files directory e.g. /usr/lib | |||
* ''PYTHON_SITEDIR'' python files directory e.g. /usr/lib/python2.6/site-packages | |||
* ''CFLAGS'' default gcc CFLAGS | |||
* ''CXXFLAGS'' default gcc CXXFLAGS | |||
In sections that contain ''langs'' option: | In sections that contain ''langs'' option: | ||