Line 201: |
Line 201: |
| | | |
| If this preset exists, an executable file will be created for native packages to launch ''main'' program or ''exec'' script. The executable file will be named by the ''slug'' option value and placed in the ''/usr/bin'' directory. | | If this preset exists, an executable file will be created for native packages to launch ''main'' program or ''exec'' script. The executable file will be named by the ''slug'' option value and placed in the ''/usr/bin'' directory. |
− |
| |
− | === [Package] ===
| |
− |
| |
− | If this section is present, the recipe should be used only for defining native packages on http://refinery.sugarlabs.org.
| |
− |
| |
− | '''package''' = <native-package-name>
| |
− |
| |
− | Name of a package (binary package, for binary-based distributions) associated with the recipe. Option value might be a name of virtual package (a name that original package provides).
| |
− |
| |
− | '''devel''' = <native-package-name>
| |
− |
| |
− | Name of devel package (for binary-based distributions) associated with the recipe. Option value might be a name of virtual package (a name that original package provides).
| |
− |
| |
− | '''type''' = <package-type>
| |
− |
| |
− | Packaging system type that describing package belongs to. Should be used only for non-rpm/deb packages. Supported values (case-sensitive):
| |
− |
| |
− | * ''Gentoo'' for Gentoo distribution,
| |
− | * ''Slack'' for Slackware distribution,
| |
− | * ''Ports'' for FreeBSD Ports.
| |
− |
| |
− | '''repo''' = <glob-mask> [; ...]
| |
− |
| |
− | Case insensitive glob masks of repository names in OBS project that current recipe belongs to. If option is absent, aliasing will be applied to all repositories.
| |
− |
| |
− | Aliasing might be different for different repositories, e.g., if repositories come from several GNU/Linux distributions. In that case per-repository Package sections (with setting ''repo'' option) should be used:
| |
− |
| |
− | [Package/<arbitrary-unique-name>]
| |
| | | |
| == Predefined options == | | == Predefined options == |