mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
f0c6e8be0e
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
31 lines
690 B
PkgConfig
31 lines
690 B
PkgConfig
# lua.pc -- pkg-config data for Lua
|
|
|
|
# vars from install Makefile
|
|
|
|
# grep '^V=' ../Makefile
|
|
V=%V%
|
|
# grep '^R=' ../Makefile
|
|
R=%R%
|
|
|
|
# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
|
|
prefix= /usr
|
|
INSTALL_BIN= ${prefix}/bin
|
|
INSTALL_INC= ${prefix}/include
|
|
INSTALL_LIB= ${prefix}/lib%LIBDIRSUFFIX%
|
|
INSTALL_MAN= ${prefix}/man/man1
|
|
INSTALL_LMOD= ${prefix}/share/lua/${V}
|
|
INSTALL_CMOD= ${prefix}/lib%LIBDIRSUFFIX%/lua/${V}
|
|
|
|
# canonical vars
|
|
exec_prefix=${prefix}
|
|
libdir=${exec_prefix}/lib%LIBDIRSUFFIX%
|
|
includedir=${prefix}/include
|
|
|
|
Name: Lua
|
|
Description: An Extensible Extension Language
|
|
Version: ${R}
|
|
Requires:
|
|
Libs: -L${libdir} -llua -lm
|
|
Cflags: -I${includedir}
|
|
|
|
# (end of lua.pc)
|