Ticket #34830: patch-lua-5.2.1.pc.diff

File patch-lua-5.2.1.pc.diff, 814 bytes (added by slewsys (Andrew L. Moore), 12 years ago)

new patch file for lua-5.2.1.pc

  • lua-5.2.1.pc

    old new  
     1# lua.pc -- pkg-config data for Lua
     2
     3# vars from install Makefile
     4
     5# grep '^V=' ../Makefile
     6V= 5.2
     7# grep '^R=' ../Makefile
     8R= 5.2.1
     9
     10# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
     11prefix= @PREFIX@
     12INSTALL_BIN= ${prefix}/bin
     13INSTALL_INC= ${prefix}/include
     14INSTALL_LIB= ${prefix}/lib
     15INSTALL_MAN= ${prefix}/man/man1
     16INSTALL_LMOD= ${prefix}/share/lua/${V}
     17INSTALL_CMOD= ${prefix}/lib/lua/${V}
     18
     19# canonical vars
     20exec_prefix=${prefix}
     21libdir=${exec_prefix}/lib
     22includedir=${prefix}/include
     23
     24Name: Lua
     25Description: An Extensible Extension Language
     26Version: ${R}
     27Requires:
     28Libs: -L${libdir} -llua -lm
     29Cflags: -I${includedir}
     30
     31# (end of lua.pc)