Re: [RFC] Binary pecl packages
| From: | Jon Parise | Date: | Thu, 19 Jun 2003 19:50:02 +0000 |
| Subject: | Re: [RFC] Binary pecl packages | ||
| References: | 1 2 3 | Groups: | php.internals php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17581@lists.php.net to get a copy of this message | ||
On Thu, Jun 19, 2003 at 01:59:35PM +0200, Tomas V.V.Cox wrote:
> >> pear build -b peclfoo-3.1.2.tgz
> >>
> >> The -b (or --bin) option generates the package containing only the
> >> compiled extension and the files marked with role "php", "doc",
> >> "test",
> >> "data" or "script" with the original package.xml modified
> >> automagically (explained in the next point).
>
> > I think 'pear dist' would be a more appropriate name for this
> > operation (or maybe just an extension of 'pear package').
>
> Umm, yes, maybe it's better to just use "package". We have now native
> pear packages, rpm, msi is planned and others will surely come.
> Additionally we can generate the package description file and also
> call the tools for generating the whole package.
>
> Let's say something like:
>
> pear package [-t <type>] [-b] [-s] <package>
>
> -t <type> The type of package you want to generate (pear, rpm,
> msi, etc)
> -b Specifies a binary package
> -d Only generate the description package file
I think this sounds good. The 'pear makerpm' command could be
deprecated in favor of using the above, and this scheme allows more
flexibility moving forward.
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)