diff options
author | wyvie <elijahrum@gmail.com> | 2014-09-23 18:01:02 +0400 |
---|---|---|
committer | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2014-09-30 07:42:19 +0100 |
commit | d4b7910f80267613017baa7388a9c39ab7a722fb (patch) | |
tree | 09cada3e14d45ee18fc7bc167bc67ae373a0854b /pkgs/development | |
parent | 134e74dbc7c6a1eb7c92dfd1ad23b7ab69ca78c9 (diff) |
Added more lua modules to lua-packages, added them as dependencies for
mudlet Closes #4269
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/lua-modules/luasql.patch | 39 | ||||
-rw-r--r-- | pkgs/development/lua-modules/zip.patch | 23 |
2 files changed, 62 insertions, 0 deletions
diff --git a/pkgs/development/lua-modules/luasql.patch b/pkgs/development/lua-modules/luasql.patch new file mode 100644 index 0000000000000..c2b6b067a2deb --- /dev/null +++ b/pkgs/development/lua-modules/luasql.patch @@ -0,0 +1,39 @@ +--- a/config 2014-09-19 13:32:52.356775109 +0400 ++++ b/config 2014-09-19 13:33:42.750501633 +0400 +@@ -1,12 +1,12 @@ + # $Id: config,v 1.10 2008/05/30 17:21:18 tomas Exp $ + + # Driver (leave uncommented ONLY the line with the name of the driver) +-T= mysql ++#T= mysql + #T= oci8 + #T= odbc + #T= postgres + #T= sqlite +-#T=sqlite3 ++T=sqlite3 + #T=firebird + + # Installation directories +@@ -37,8 +37,8 @@ + ######## MySQL + #DRIVER_LIBS= -L/usr/local/mysql/lib -lmysqlclient -lz + #DRIVER_INCS= -I/usr/local/mysql/include +-DRIVER_LIBS= -L/usr/lib -lmysqlclient -lz +-DRIVER_INCS= -I/usr/include/mysql ++#DRIVER_LIBS= -L/usr/lib -lmysqlclient -lz ++#DRIVER_INCS= -I/usr/include/mysql + ######## Oracle OCI8 + #DRIVER_LIBS= -L/home/oracle/OraHome1/lib -lz -lclntsh + #DRIVER_INCS= -I/home/oracle/OraHome1/rdbms/demo -I/home/oracle/OraHome1/rdbms/public +@@ -51,8 +51,8 @@ + #DRIVER_LIBS= -lsqlite + #DRIVER_INCS= + ######## SQLite3 +-#DRIVER_LIBS= -L/opt/local/lib -lsqlite3 +-#DRIVER_INCS= -I/opt/local/include ++DRIVER_LIBS= -L/opt/local/lib -lsqlite3 ++DRIVER_INCS= -I/opt/local/include + ######## ODBC + #DRIVER_LIBS= -L/usr/local/lib -lodbc + #DRIVER_INCS= -DUNIXODBC -I/usr/local/include diff --git a/pkgs/development/lua-modules/zip.patch b/pkgs/development/lua-modules/zip.patch new file mode 100644 index 0000000000000..c3f88f451e8db --- /dev/null +++ b/pkgs/development/lua-modules/zip.patch @@ -0,0 +1,23 @@ +--- a/Makefile 2007-10-30 01:59:10.000000000 +0300 ++++ b/Makefile 2014-09-18 11:04:53.176320021 +0400 +@@ -6,10 +6,6 @@ + + include $(CONFIG) + +-ifeq "$(LUA_VERSION_NUM)" "500" +-COMPAT_O= $(COMPAT_DIR)/compat-5.1.o +-endif +- + SRCS= src/lua$T.c + OBJS= src/lua$T.o $(COMPAT_O) + +@@ -19,9 +15,6 @@ + src/$(LIBNAME): $(OBJS) + export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS) -lzzip + +-$(COMPAT_DIR)/compat-5.1.o: $(COMPAT_DIR)/compat-5.1.c +- $(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c +- + install: src/$(LIBNAME) + mkdir -p $(LUA_LIBDIR) + cp src/$(LIBNAME) $(LUA_LIBDIR) |