1 # --- T2-COPYRIGHT-BEGIN ---
2 # t2/misc/share/PKG-DESC-FORMAT
3 # Copyright (C) 2010 - 2025 The T2 SDE Project
4 # SPDX-License-Identifier: GPL-2.0
5 # --- T2-COPYRIGHT-END ---
7 Documentation of the package description tags format. This tags are used in
8 the *.desc files. If you want to add additional tags, their names have to start
9 with 'X-' (like [X-FOOBAR]).
11 Please use the tags in the same order as they are listed in this file. Add
12 a blank line wherever a '--' is found here and use the X-* flags after all
13 the other tags. "./scripts/Create-DescPatch" can help you here.
15 All tags marked with (*) are required, and should be present in every .desc
16 file. All tags marked with (1) may only occure once.
22 The ROCK Linux Copyright text (and maybe additional copyright information
23 regarding the ROCK Linux package sources).
29 A short description of the package. Can be given only once.
35 A detailed package description.
41 A URL related to the package.
42 Format: [U] http://foo.bar/ Description of foo bar
43 can be used more than once.
49 Format: # [A] Clifford Wolf <clifford@clifford.at> {Core Maintainer}
50 The <e-mail> and the {description} are both optional. Can be user more
55 Same format as [A] but contains the maintainer of the ROCK package.
61 Format: [C] console/administration x11/administration
62 A list of possible categories can be found in the file PKG-CATEGORIES.
67 A list of possible flags can be found in the file PKG-FLAGS.
69 [R] [ARCH] [ARCHITECTURE]
72 Format: [R] - sparc powerpc
73 Usually a packge is built on all architectures. If you are using [R]
74 with '+' the package will only be built for the given architectures.
75 If you use it with '-' it will be built for all except the given
82 Usually a packge is built on all kernels. If you are using [K]
83 with '+' the package will only be built for the given kernels.
84 If you use it with '-' it will be built for all except the given
89 [E] [DEP] [DEPENDENCY]
91 Format: [E] group compiler
92 All dependencies to a package in this group (compiler) will get expanded to
93 dependencies to all packages in this group.
100 I will add a list of possible values to Documentation/Developers/REGISTER
105 where 'Stable' also can be 'Gamma' (very close to stable), 'Beta' or
106 'Alpha' (far away from stable).
108 [V] [VER] [VERSION] (1) (*)
110 Package version and revision (example: '[V] 2.3 19991204').
112 [P] [PRI] [PRIORITY] (1) (*)
114 Format: [P] X --3-----9 010.066
115 The first field specifies if the package should be built on default or
116 not (X=on, O=off). The second and third field specify the stages and
117 build-order for that package.
123 Format: [CV-URL] http://www.research.avayalabs.com/project/libsafe/
124 The URL used by ./scripts/Check-PkgVersion.
129 Format: [CV-FLAGS] ODD-UNSTABLE NO-PREFIX
130 The flags used for auto update scanning.
134 Format: [CV-GROUP] group-name
135 The flags used for auto update scanning.
140 Format: [CV-PAT] ^libsafe-[0-9]
141 The search pattern for ./scripts/Check-PkgVersion.
145 Format: [CV-DEL] \.(tgz|tar.gz)$
146 The delete pattern for ./scripts/Check-PkgVersion.
152 Format: [O] srcdir="$pkg-src-$ver"
153 The given text will be evaluated as if it would be at the top of the
158 [D] [DOWN] [DOWNLOAD]
160 Download a file. (example: '[D] cksum foo.tar.bz2 http://the-size.org/')
161 The cksum can be initially 0.
165 [SRC] [SOURCEPACKAGE] (1)
167 Format: [SRC] tarball1 tarball2
168 This will enable build_this_package to build the content of more than
170 NOTE: do not put the extension of the tarballs (e.g. tar.gz) into this
171 tag, as it will be autodetected.
172 NOTE2: a pattern to match the needed tarball should be enough.
174 > [D] cksum mypkg-version1.tar.gz http://some.url.tld
175 > [D] cksum mypkg-gfx-version2.tbz2 http://some.url.tld
176 > [D] cksum mypkg-data-version3.tar.bz2 http://some.url.tld
177 > [SRC] mypkg-version1 gfx
178 This would run the whole build cycle with mypkg-version1.tar.bz2 and
179 mypkg-gfx-version2.tbz2 but not with mypkg-data-version3.tar.bz2.