jordansissel/fpm — Issue #151: Add PEAR as a supported source
Author: agaffney
Created: 2012-02-03 18:12:30+00:00
State: open

It appears it would fit into this framework quite nicely. I may write the code myself, but in the event that I don't (or if it takes me a while), the relevant information is in this issue.

Command to install a package into a non-standard dir:

pear install -n -f -P

The -n option tells it to ignore deps and install only this package. The -f option overrides complaints about the package not being in the preferred state (devel vs. stable). The specifies the directory under which to install the files. It uses the configured PEAR package path relative to the specified path. The is a package spec that PEAR can understand.

PEAR also supports getting package metadata:

$ pear remote-info File_DNS
Package details:
================
Latest 0.1.0
Installed - no -
Package File_DNS
License PHP License
Category File Formats
Summary Manipulate RFC1033-style DNS Zonefiles
Description The File_DNS class provides a way to read, edit
and write RFC1033 style DNS Zones.