On Fri, Mar 28, 2003, Bill Campbell wrote:

> Could you post an example of the ~/.openpkg/build file?  I haven't been
> able to figure out the format from the man page, and would really like an
> example.  In particular I want to build the file to specify the options for
> packages such as apache.

The format is:

OPTION
OPTION
...

[/prefix1]
OPTION
OPTION
...

[/prefix2]
...


The first unnamed section are global defaults. The prefixed sections
are selective to the specific hierarchies. Each OPTION is a command
line option (possibly followed by a value for options that require one).


I fear there is no possibility to specify options for a particular
package. Just like command line options these are applied to all
packages. In fact, the build file is only parsed to set defaults for
command line options.

Of course many package options are unique, e.g. only apache knows
about "with_mod_perl" and other packages will ignore it. But many
other options are known by multiple packages and will be applied
to all these packages.

Greetings,
-- 
    ,eM""=.            a"-.                         Michael van Elst
   dWWMWM" -          :GM==;                        [EMAIL PROTECTED]
  :WWMWMw=--.          "W='  cable & wireless
   9WWMm==-.
    "-Wmw-"  CABLE & WIRELESS
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to