The recipe provides the means to create custom build profiles for the
OpenLayers javascript library. A compressed, single OpenLayers.js file, and
accompanying img and theme directories are created in the named
directory under the buildout’s parts directory.

URL to the package that will be downloaded and extracted. The
supported package formats are .tar.gz, .tar.bz2, and .zip. The
value must be a full URL,
e.g. http://openlayers.org/download/OpenLayers-2.7.tar.gz. The
path option can not be used at the same time with url.

path

Path to a local directory containing the source code to be built
and installed. The directory must contain the configure
script. The url option can not be used at the same time with
path.

filename

Name of javascript file to be written. Defaults to OpenLayers.js.

md5sum

MD5 checksum for the package file. If available the MD5
checksum of the downloaded package will be compared to this value
and if the values do not match the execution of the recipe will
fail.

patch-binary

Path to the patch program. Defaults to ‘patch’ which should
work on any system that has the patch program available in the
system PATH.

patch-options

Options passed to the patch program. Defaults to -p0.

patches

List of patch files to the applied to the extracted source. Each
file should be given on a separate line.

keep-compile-dir

Switch to optionally keep the temporary directory where the
package was compiled. This is mostly useful for other recipes that
use this recipe to compile a software but wish to do some
additional steps not handled by this recipe. The location of the
compile directory is stored in options['compile-directory'].
Accepted values are ‘true’ or ‘false’, defaults to ‘false’.

Additionally, the recipe honors the download-directory option set
in the [buildout] section and stores the downloaded files under
it. If the value is not set a directory called downloads will be
created in the root of the buildout and the download-directory
option set accordingly.

The recipe will first check if there is a local copy of the package
before downloading it from the net. Files can be shared among
different buildouts by setting the download-directory to the same
location.