lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Nicola Fontana <> 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.)