[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua.pc pkg-config file
- From: taylanbayirli@... (Taylan Ulrich Bayırlı/Kammer)
- Date: Thu, 26 Mar 2015 21:38:04 +0100
Nicola Fontana <ntd@entidi.it> writes:
> +TO_PC= lua$(V).pc
Nitpick: lua-$(V).pc would be nicer, and it's the style sanctioned in
the pkg-config manual, giving "gtk+" and "gtk+-2.0" as exemplar names.
In fact I happen to be working on a tool right now, which somewhat
heuristically matches pkg-config package names to some in GNU Guix, and
being able to separate the version part, via the regexp "-[0-9.]+$", is
useful. (I guess "[0-9.]+$" shouldn't have too many false negatives
either though; I'll probably end up using that as well.)
Taylan