summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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