Sugar Network/Recipe Specification: Difference between revisions
No edit summary |
|||
| Line 77: | Line 77: | ||
'''requires''' = <dependency> [(=|>=|<) <version>] [; ...] | '''requires''' = <dependency> [(=|>=|<) <version>] [; ...] | ||
List of [[Activity Team/Zero Sugar/Packaging Guide#Package_names|dependencies]] that should exist in run-time before using the package. Note that ''requires'' from [[#.5BBuid.5D|[Build]]] section are not auto included to this list (e.g. like RPM does). | List of [[Activity Team/Zero Sugar/Packaging Guide#Package_names|dependencies]] that should exist in run-time before using the package. Note that ''requires'' from [[#.5BBuid.5D|[Build]]] section are not auto included to this list (e.g., like RPM does). | ||
'''binding''' = [prepend|append|replace] <variable-name> [<insert-text-to-prepend-variable-value>] [; ...] | '''binding''' = [prepend|append|replace] <variable-name> [<insert-text-to-prepend-variable-value>] [; ...] | ||
| Line 125: | Line 125: | ||
'''configure''' = <shell-command> | '''configure''' = <shell-command> | ||
Shell command to configure sources before building, e.g, invoking the ''configure'' script in auto-tools-based projects. It is important to use [[#Predefined_options|predefined constants]], at least ''%(PREFIX)s'', during configuration to prepare valid Zero packages. If the source code does not require a configuration stage, this option could be omited. | Shell command to configure sources before building, e.g., invoking the ''configure'' script in auto-tools-based projects. It is important to use [[#Predefined_options|predefined constants]], at least ''%(PREFIX)s'', during configuration to prepare valid Zero packages. If the source code does not require a configuration stage, this option could be omited. | ||
'''make''' = <shell-command> | '''make''' = <shell-command> | ||
Shell command to make binaries from sources. If the source code does not require a making stage, this option could be | Shell command to make binaries from sources. If the source code does not require a making stage, this option could be omitted. | ||
'''install''' = <shell-command> | '''install''' = <shell-command> | ||
Shell command to place files that are ready for distribution into the ''%(DISTDIR)s'' directory. If option is | Shell command to place files that are ready for distribution into the ''%(DISTDIR)s'' directory. If option is missing, the entire ???? (excepting temporary files) will be copied. | ||
: >> Please clarify the last sentence. Which option? the entire SRCDIR or package? --[[User:FGrose|FGrose]] 10:58, 21 October 2010 (EDT) | |||
'''implement''' = <shell-command> | '''implement''' = <shell-command> | ||
An analog of ''install'' command that will be used, if | An analog of ''install'' command that will be used, if present, instead of ''install'' while building the package in the local environment. | ||
=== [Source] === | === [Source] === | ||