Ok, I see what you mean.  Put the sh script somewhere and create an
/etc/atool.conf with:
path_rpm2cpio /path/rpm2cpio.sh

Actually, you could put rpm2.cpio.sh in atools R/Wrappers and all
would be self contained in atool.


On 9/9/06, Fábio Mierlo <[EMAIL PROTECTED]> wrote:
> Follow a sh version from the current maintainer of rpm (4.4.6)
>
> http://wraptastic.org/pub/twang/rpm2cpio.sh
>
> But atool will call this function as the command?
>
> On 9/9/06, Carlo Calica <[EMAIL PROTECTED]> wrote:
> > I guess it could be embedded in Compile somewhere (Functions/Compile).
> >  something like:
> >
> > function rpm2cpio() {
> >     perl -e '
> > <perlscript>
> > '
> > }
> >
> >
> > On 9/9/06, Fábio Mierlo <[EMAIL PROTECTED]> wrote:
> > > Very good, but where this script should be placed?
> > >
> > > On 9/9/06, Carlo Calica <[EMAIL PROTECTED]> wrote:
> > > > On 9/9/06, Fábio Mierlo <[EMAIL PROTECTED]> wrote:
> > > > > I'm patching Compile to extract tar.gz from src.rpm, but having RPM
> > > > > as dependence isn't a good thing. I'm making a recipe for RPM 4.4.6,
> > > > > but it will be a very huge package 17M to compile a 200k package
> > > > > like hwdata.
> > > > >
> > > >
> > > > Busybox has a rpm2cpio tool.  Here's a perl version:
> > > > http://www.iagora.com/~espel/rpm2cpio
> > > >
> > > >
> > > > --
> > > > Carlo J. Calica
> > > > _______________________________________________
> > > > gobolinux-devel mailing list
> > > > gobolinux-devel@lists.gobolinux.org
> > > > http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel
> > > >
> > > _______________________________________________
> > > gobolinux-devel mailing list
> > > gobolinux-devel@lists.gobolinux.org
> > > http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel
> > >
> >
> >
> > --
> > Carlo J. Calica
> > _______________________________________________
> > gobolinux-devel mailing list
> > gobolinux-devel@lists.gobolinux.org
> > http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel
> >
> _______________________________________________
> gobolinux-devel mailing list
> gobolinux-devel@lists.gobolinux.org
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel
>


-- 
Carlo J. Calica
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to