Op 26-07-12 16:06, Alexander Hansen schreef:
> On 7/26/12 6:50 AM, Hanspeter Niederstrasser wrote:
>> Is there a way to copy the tarball from Source2 into a specific dir 
>> inside the expanded Source1 tree *without* expanding Source2?
>>
>> A package I'm making needs several auxiliary tarballs, but it checks for 
>> the tarball inside %b/external/src and tries to download it 
>> automatically if missing.  "Source2ExtractDir" doesn't work for this case.
>>
>> Hanspeter
>>
> 
> I believe fink tries to expand any tarball listed in a SourceN field.
> You might have to go with a hackish option and "re-tar" the expanded
> Source2 in %b/external/src, since one can't really count on a source
> being in e.g. %b/../../.. .  I face this same problem with the Octave
> Forge packages, which insist on being installed from tarballs for
> current Octave versions.

I think you could try renaming the file (SourceFileRename, or something like 
that) to get around Fink's file type detection, then move and rename it back in 
your PatchScript.

Sjors

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to