lua-users home
lua-l archive

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


On Thu, Jun 01, 2006 at 04:33:40PM -0300, Luiz Henrique de Figueiredo wrote:
> > I maintain Lua on ArchLinux and will have to release a 5.1.1 package.
> > I'm sure users will file bug reports about this, if i don't patch
> > pkg-config metainformation. 
> 
> So, adding
> 	R= 5.1.1
> to lua.pc would be enough? How would that get used?

Yes. and replace:

Version: ${V}

with:

Version: ${R}

so. pkg-config will parse:

bash-3.1$ pkg-config lua --variable=INSTALL_LMOD 
/usr/share/lua/5.1
bash-3.1$ pkg-config lua --variable=INSTALL_CMOD 
/usr/lib/lua/5.1
bash-3.1$ pkg-config lua --modversion
5.1.1

So INSTALL_CMOD and INSTALL_LMOD will stay at 5.1.

Jürgen