Some sources compressed with ZIP cannot be uncompressed by using 'explode'
macro.
{{{
define explode
case `file -b -z --mime-type $(Source)` in \
application/x-tar) tar zxf $(Source) ;; \
application/zip) unzip -o -a -d $(BuilDir) $(Source) ;; \
*) false ;; \
esac
endef
}}}
In the case of 'gmpy-1.15.zip' we have:
{{{
file -b -z --mime-type gmpy-1.15.zip
text/plain
}}}
which is obvious not matched in the above rules.
Original issue reported on code.google.com by ruda.moura@gmail.com on 9 Apr 2012 at 10:09
Original issue reported on code.google.com by
ruda.moura@gmail.com
on 9 Apr 2012 at 10:09