lua: use PV for generating Version in lua.pc

Lua was updated to 5.3.2, however lua.pc still has 5.2.2 listed as
Version in pkg-config metadata file. Instead of bumping the Version
field in lua.pc make sure that we are future proof and update the field
automatically with value of ${PV}.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Maciej Borzecki
2016-02-11 11:12:50 +01:00
committed by Martin Jansa
parent 21a983bc33
commit 4047e5ca84
2 changed files with 4 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
prefix=/usr
libdir=${prefix}/lib
includedir=${prefix}/include
Name: Lua
Description: Lua language engine
Version: @VERSION@
Requires:
Libs: -L${libdir} -llua
Libs.private: -lm
Cflags: -I${includedir}