Re: p7zip receipts + parsing bug

[ Thread Index | Date Index | More Archives ]


Give this a try : TARBALL="${PACKAGE}_${VERSION}"
Then, in the function compile_rules(), you can redefine $src:

On Tue, Jul 29, 2008 at 8:29 PM, MilkaJinka <milka@xxxxxxxxxxxxxxxxx> wrote:

I've made 2 receipts for p7zip, which could be a useful addition. One
compiles only 7zr (263 Ko - which handles only the .7z format), and the
other provides full-fledged p7zip (1.5 MB) with unzip, unrar, and so on,
including self-extracting capabilities and potentially "restricted"

Writing these receipts I encountered a problem with filename parsing (I'll
file a bug, but I'll mention it here if others have this problem). p7zip's
archive has underscores (_) instead of the usual dashes (-) and it seems
to confuse tazwok as I couldn't get it to cook my packages unless I've
isolated all strings next to an underscore (basically I had to write
TARBALL="$PACKAGE"_"$VERSION"_"src"_"all.tar.bz2"). Furthermore, the $src
variable seems to assume that the extracted folder name will be
$PACKAGE-$VERSION, thus issuing an error when it's another one.


SliTaz GNU/Linux Mailing list -

Mail converted by MHonArc 2.6.19+