Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] handling package souce in .zip file
@ 2010-11-26 18:37 Paulius Zaleckas
  2010-11-26 19:35 ` Lionel Landwerlin
  0 siblings, 1 reply; 7+ messages in thread
From: Paulius Zaleckas @ 2010-11-26 18:37 UTC (permalink / raw)
  To: buildroot

I want to add package, but its source is available only in zip format :(

I was thinking how to handle zip, but I don't have preference:
1. Not generic methods, since this may be the only package with zip:
a) add possibility to override the whole extraction procedure.
b) add post download hook, and repackage this zip as tar.
2. Generic method:
a) add very hacky INFLATE.zip which will repackage zip as tar.
b) add special handling for INFLATE.zip without involving tar.

Repackaging zip as tar is a headache, since it is not possible to
pipe unzip output to tar. So one has to extract zip to some dir and
then tar this dir and delete dir after taring.
Extracting zip without tar is also a little bit problematic since unzip
has no equivalent option for --strip-path/--strip-components
So maybe it is not possible to make generic support...

What do you guys think?

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-11-30 17:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-26 18:37 [Buildroot] handling package souce in .zip file Paulius Zaleckas
2010-11-26 19:35 ` Lionel Landwerlin
2010-11-26 23:05   ` Paulius Zaleckas
2010-11-26 23:35     ` Lionel Landwerlin
2010-11-29 20:05       ` Paulius Zaleckas
2010-11-29 20:54         ` Thomas Petazzoni
2010-11-30 17:40         ` Lionel Landwerlin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox