On Mon, Dec 30, 2002, Michael van Elst wrote:
> > packages. Michael, can you adjust "openpkg index" and "openpkg build"
> > for us to fit into the "new world order"?
>
> I'll have a look tomorrow.
>
> Can you describe the syntax for %options ? What is the -pXXX ?
Forget "%options", this is just the macro for expanding the "%option"
in "%description". You only have to care about "%option", of course.
Anyway, the syntax is:
%option <variable> <value>
%options [-p<padding>]
where "%option <variable> <value>" is syntactically equivalent with
"%ifndef <variable> %define <variable> <value> %endif" plus remembering
the string "%option <variable> %{<variable>}" in an internal macro.
Then "%options" expands this internal macro back into the "%option
<variable> <value>" strings. If a <padding> is given, the <variable>
part in "%option <variable> <value>" is padding with spaces to a fixed
width in order to get a nice aligned output in %description texts.
Ralf S. Engelschall
[EMAIL PROTECTED]
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [EMAIL PROTECTED]