Building Agavi Pear Package
- Check out Agavi from SVN
- Generate package.xml
- Build Pear package
- (Install)
You need a PEAR_PackageFileManager package newer than 1.6.0a1. Currently such a package is only available as an alpha release so you'll probably need to adjust pear's preferred_state configuration. You also need Phing for package.xml generation. And one last thing; Pear refuses to generate the package file if it doesn't know about the channel, so you need to discover pear.agavi.org before building.
pear config-set preferred_state alpha pear upgrade PEAR_PackageFileManager pear channel-discover pear.agavi.org
Check out an Agavi version of your choice:
svn co http://svn.agavi.org/trunk agavi
Generate Pear's package definition file:
cd agavi phing package-pear
This will copy all necessary files to a directory named build (it'll wipe out the directory first if it exists). If everything went fine package.xml should now reside in build directory. The only thing left to be done is wrapping everything up to a pear package.
cd build pear package
If you want to install this package it's a good idea to remove any older installation.
pear uninstall agavi/agavi pear install agavi-#.##.#.tgz

