[csw-maintainers] Another GAR question
Dagobert Michelsen
dam at opencsw.org
Mon Mar 9 14:02:49 CET 2009
Hi,
Am 06.03.2009 um 03:00 schrieb Ben Walton:
> Excerpts from Roger Håkansson's message of Thu Mar 05 20:48:54 -0500
> 2009:
>> If upstream package doesn't unpack into a separate directory (i.e
>> xx-YY.tar.gz unpacks to xx-YY), but into current directory (i.e
>> $WORKDIR_FIRSTMOD), how would I go about to extract package files
>> into
>> correct directory (i.e $WORKDIR_FIRSTMOD/$DISTNAME)?
>
> Override the tgz-extract-%.tar.gz (or whatever extension) target with
> a more specific one (eg: extract-$distname.tar.gz:). See the
> docbookdtds package for examples or grep for "*-extract" in gar.lib.mk
> to get a better idea of which targets are in play for this.
Alternatively you can explicitly set WORKSRC to whereever
your sources unpack to. This is feasible if just the name is
different and you are dealing with only one archive.
Best regards
-- Dago
More information about the maintainers
mailing list