Building
********

Supported options
=================

The recipe supports the following options:

url
    URL for an archive containing the Pound sources. Either **url** or
    **svn** has to be specified.

svn
    URL for a subversion repository containing Pound sources. Either **url**
    or **svn** has to be specified.

ssl_dir
    OpenSSL home directory (default: system defined).

t_rsa
    timeout of the RSA ephemeral keys regeneration (default: 300 seconds).

owner
    name of installed binaries owner (default is user that launch buildout).

group
    name of installed binaries group (default is system-dependent)

extra-options
    extra options for compilation

Example usage
=============

We'll start by creating a buildout that uses the recipe::

    >>> write('buildout.cfg',
    ... """
    ... [buildout]
    ... parts = poundbuild
    ...
    ... [poundbuild]
    ... recipe = iw.recipe.pound:build
    ... url = http://www.apsis.ch/pound/Pound-2.3.2.tgz
    ... """ )

Running the buildout gives us::

    >>> print system(buildout)
    Installing poundbuild.
    poundbuild: compilation option : --with-owner=youenn --with-group=youenn
    poundbuild: Downloading http://www.apsis.ch/pound/Pound-2.3.2.tgz
    poundbuild: Unpacking and configuring
    ...


