diff options
author | Jeremy Lainé <jeremy.laine@m4x.org> | 2008-10-16 21:16:15 +0200 |
---|---|---|
committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2008-10-16 21:16:15 +0200 |
commit | 34a12c2ff974595a014375de4eaacb553d4742df (patch) | |
tree | c78fe3410f1d511279b31a4b7c13fcc8b88cb80d /packages/lua/lua5.1 | |
parent | 368320c838e5752cc6c292cfcf0bdf4658a60e07 (diff) |
lua5.1: package 5.1 branch of the lua language
Diffstat (limited to 'packages/lua/lua5.1')
-rw-r--r-- | packages/lua/lua5.1/lua5.1.pc | 11 | ||||
-rw-r--r-- | packages/lua/lua5.1/makefile.patch | 22 |
2 files changed, 33 insertions, 0 deletions
diff --git a/packages/lua/lua5.1/lua5.1.pc b/packages/lua/lua5.1/lua5.1.pc new file mode 100644 index 0000000000..df8eb15c0f --- /dev/null +++ b/packages/lua/lua5.1/lua5.1.pc @@ -0,0 +1,11 @@ +prefix=/usr +libdir=${prefix}/lib +includedir=${prefix}/include + +Name: Lua +Description: Lua language engine +Version: 5.1.3 +Requires: +Libs: -L${libdir} -llua5.1 +Libs.private: -lm +Cflags: -I${includedir}/lua5.1 diff --git a/packages/lua/lua5.1/makefile.patch b/packages/lua/lua5.1/makefile.patch new file mode 100644 index 0000000000..569a94421b --- /dev/null +++ b/packages/lua/lua5.1/makefile.patch @@ -0,0 +1,22 @@ +--- lua-5.1.3.orig/Makefile 2008-08-18 17:59:06.000000000 +0200 ++++ lua-5.1.3/Makefile 2008-08-18 17:59:15.000000000 +0200 +@@ -38,7 +38,7 @@ + # What to install. + TO_BIN= lua luac + TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp +-TO_LIB= liblua.a ++TO_LIB= liblua5.1.a + TO_MAN= lua.1 luac.1 + + # Lua version and release. +--- lua-5.1.3.orig/src/Makefile 2008-08-18 17:54:30.000000000 +0200 ++++ lua-5.1.3/src/Makefile 2008-08-18 17:54:39.000000000 +0200 +@@ -22,7 +22,7 @@ + + PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris + +-LUA_A= liblua.a ++LUA_A= liblua5.1.a + 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 |