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 | * ''PREFIX'' should be used as installation prefix path, e.g., for {{Code|./configure --prefix}} | ||
* ''CFLAGS'' default gcc CFLAGS | * ''CFLAGS'' default gcc CFLAGS | ||
* ''CXXFLAGS'' default gcc CXXFLAGS | * ''CXXFLAGS'' default gcc CXXFLAGS | ||