From e2fd363306b0deff790dff228d1142490e1136fa Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 04 Aug 2012 05:27:58 -0400 Subject: Specify a new Platform field. --- (limited to 'specs/source-package-format-2.0.txt') diff --git a/specs/source-package-format-2.0.txt b/specs/source-package-format-2.0.txt index b742212..32deb98 100644 --- a/specs/source-package-format-2.0.txt +++ b/specs/source-package-format-2.0.txt @@ -67,6 +67,7 @@ source package format: - Binary package names are now given only in the names of `.pkg/` directories. * Platform names are no longer specified in the `Architecture` field. + - They are now specified in a new `Platform` field. * Wildcard binary architecture strings are now supported. @@ -523,6 +524,18 @@ The fields in the binary package metadata are: considered to match any real binary architecture string for which the non-wildcard components are equal. + * `Platform` (required) + A list of platforms for which this package may be built. The value may be + any one of the following: + + - The string `all` to specify that all of the provided files are + platform-independent; + - The string `any` to specify that at least some of the provided files are + platform-dependent; or + - A space-separated list of one or more platform strings to specify that at + least some of the provided files are only usable on systems of the named + platform(s). + * `Essential` (optional) A flag to indicate whether the package is essential for the functioning of a system on which it is installed. If this field is set to `yes`, opkg will -- cgit v0.9.1