Sugar Network/Recipe Specification: Difference between revisions
No edit summary |
|||
| Line 216: | Line 216: | ||
=== [Package] === | === [Package] === | ||
If this section is present, the recipe | If this section is present, the recipe should be used only for defining native packages on http://refinery.sugarlabs.org. | ||
Package section might define native package names only for particular repository for current OBS project. In that case subnames should be used: | |||
[Package/<repository-name-glob>] | |||
Options: | |||
'''binary''' = <native-package-name> [; ...] | |||
Name of binary package associated with the recipe. It is important to use real package name, for virtual packages, use ''binary-provides'' option. | |||
'''binary-provides''' = <native-package-name> [; ...] | |||
If binary package can be installed by virtual name. | |||
'''devel''' = <native-package-name> [; ...] | |||
Name of devel package associated with the recipe. It is important to use real package name, for virtual packages, use ''devel-provides'' option. | |||
'''devel-provides''' = <native-package-name> [; ...] | |||
If devel package can be installed by virtual name. | |||
'''distro''' = <distro-name> | |||
Name of distribution that current section is defining package names for. Supported values (case-sensitive): | |||
* ''RPM'' for all RPM-based distributions, | |||
* ''Debian'' for all Debian-based distributions, | |||
* ''Gentoo'' for Gentoo distribution, | |||
* ''Slack'' for Slackware distribution, | |||
* ''Ports'' for FreeBSD Ports. | |||
== Predefined options == | == Predefined options == | ||