lua: include version number in installed files
[openwrt/staging/wigyori.git] / package / utils / lua / patches / 020-shared_liblua.patch
index 64f683ddbe004891930aebfd7d153cb977833615..f67ee2b3c7f3085107dc113459f63f854ffe7583 100644 (file)
@@ -3,12 +3,12 @@
 @@ -42,8 +42,8 @@ PLATS= aix ansi bsd freebsd generic linu
  
  # What to install.
- TO_BIN= lua luac
+ TO_BIN= lua$V luac$V
 -TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp
 -TO_LIB= liblua.a
 +TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp lnum_config.h
 +TO_LIB= liblua.a liblua.so.$R
- TO_MAN= lua.1 luac.1
+ TO_MAN= lua$V.1 luac$V.1
  
  # Lua version and release.
 @@ -63,6 +63,7 @@ install: dummy
  CORE_O=       lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \
        lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o  \
        lundump.o lvm.o lzio.o lnum.o
-@@ -33,11 +34,12 @@ LUA_T=     lua
+@@ -33,11 +34,12 @@ LUA_T=     lua$V
  LUA_O=        lua.o
  
- LUAC_T=       luac
+ LUAC_T=       luac$V
 -LUAC_O=       luac.o print.o
 +LUAC_O=       luac.o print.o lopcodes.o