Sugar Network/Recipe Specification: Difference between revisions

No edit summary
Line 218: Line 218:


== Predefined options ==
== Predefined options ==
Options defined within ''[Build]'' section:


* ''BUILDDIR'' where the build happens
* ''BUILDDIR'' where the build happens
* ''SRCDIR'' path to directory with sources; for a custom (via 0compile) build, ''BUILDDIR'' and ''SRCDIR'' are different, while building on OBS, they are the same
* ''SRCDIR'' path to directory with sources; for a custom (via 0compile) build, ''BUILDDIR'' and ''SRCDIR'' are different, while building on OBS, they are the same
* ''DISTDIR'' temporary path to place installed files before bundling them
* ''DISTDIR'' temporary path to place installed files before bundling them
* ''PREFIX'' prefix path for installed files, e.g., /usr
* ''PREFIX'' should be used as installation prefix path, e.g., for {{Code|./configure --prefix}}
* ''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
* ''CFLAGS'' default gcc CFLAGS
* ''CXXFLAGS'' default gcc CXXFLAGS
* ''CXXFLAGS'' default gcc CXXFLAGS