[RFE][PATCH] cygport: allow for subdirectory specification via CPAN_AUTHOR

Achim Gratz Stromeko@nexgo.de
Sat Sep 29 19:42:00 GMT 2012


Reini Urban writes:
> Just for easier understanding:
> How would that look like for e.g.
>   A/AM/AMBS/Inline/Inline-Files-0.68.tar.gz
>
> NAME=Inline-Files
> inherit perl
> CPAN_AUTHOR=AMBS/Inline

Yes, exactly.

> Looks a bit weird.

Well, that's the author's choice…. Looks much less wierd to me than this
in any case:

SRC_URI=${SRC_URI%/*}/Inline/${SRC_URI##*/}

> Don't we have a better field for this cpan quirks?
> Like a new CPAN_DIR which defaults to CPAN_AUTHOR?

I didn't want to introduce new variables, but yes, that'd be another
option.  But CPAN_AUTHOR is really not used for anything else than
constructing the download URL AFAIK.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list