summaryrefslogtreecommitdiffstats
path: root/specs
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-08-04 05:27:58 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-08-04 05:27:58 (EDT)
commite2fd363306b0deff790dff228d1142490e1136fa (patch)
tree3c5562855435a685b883b15757d7ac010aadf234 /specs
parent9ad97269eae21e2d652bfe844eca82e4f4664349 (diff)
Specify a new Platform field.
Diffstat (limited to 'specs')
-rw-r--r--specs/source-package-format-2.0.txt13
1 files changed, 13 insertions, 0 deletions
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 `<binpkg>.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