Blame view

buildroot/buildroot-2016.08.1/package/lua/5.2.4/0004-lua-pc.patch 890 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
  add lua.pc
  
  Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
  
  Index: b/etc/lua.pc
  ===================================================================
  --- /dev/null
  +++ b/etc/lua.pc
  @@ -0,0 +1,31 @@
  +# lua.pc -- pkg-config data for Lua
  +
  +# vars from install Makefile
  +
  +# grep '^V=' ../Makefile
  +V= 5.2
  +# grep '^R=' ../Makefile
  +R= 5.2.3
  +
  +# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
  +prefix= /usr
  +INSTALL_BIN= ${prefix}/bin
  +INSTALL_INC= ${prefix}/include
  +INSTALL_LIB= ${prefix}/lib
  +INSTALL_MAN= ${prefix}/man/man1
  +INSTALL_LMOD= ${prefix}/share/lua/${V}
  +INSTALL_CMOD= ${prefix}/lib/lua/${V}
  +
  +# canonical vars
  +exec_prefix=${prefix}
  +libdir=${exec_prefix}/lib
  +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)