Sugar Network/Recipe Specification: Difference between revisions

Line 115: Line 115:
=== [Buid] ===
=== [Buid] ===


This section is required if package needs additional work to prepare ready-to-use installation. To prepare valid Zero packages, it is important to use [[#Predefined_options|predefined constants]] for options that contain shell commands. All shell commands will be executed from {{Code|%(SRCDIR)s}} directory.
This section is required if package needs additional work to prepare ready-to-use installation. To prepare valid Zero packages, it is important to use [[#Predefined_options|predefined constants]] for options that contain shell commands. All shell commands will be executed from {{Code|%(BUILDDIR)s}} directory.


'''NOTE''' The commands in this section will be executed, not only in the developer's environment, but also in the user's, if a proper binary wasn't found; so move all development-related commands, like {{Code|autogen.sh}}, to the ''[Source]'' section.
'''NOTE''' The commands in this section will be executed, not only in the developer's environment, but also in the user's, if a proper binary wasn't found; so move all development-related commands, like {{Code|autogen.sh}}, to the ''[Source]'' section.
Line 133: Line 133:
  '''install''' = <shell-command>
  '''install''' = <shell-command>


Shell command to place files that are ready for distribution into the ''%(DISTDIR)s'' directory. If ''install'' is missing, the entire {{Code|%(SRCDIR)s}} (excepting temporary files) will be copied.
Shell command to place files that are ready for distribution into the {{Code|%(DISTDIR)s}} directory. If ''install'' is missing, the entire {{Code|%(BUILDDIR)s}} (excepting temporary files) will be copied.


  '''implement''' = <shell-command>
  '''implement''' = <shell-command>