Hello community, here is the log from the commit of package lua52 for openSUSE:Factory checked in at 2017-08-14 12:35:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lua52 (Old) and /work/SRC/openSUSE:Factory/.lua52.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lua52" Mon Aug 14 12:35:04 2017 rev:4 rq:512559 version:5.2.4 Changes: -------- --- /work/SRC/openSUSE:Factory/lua52/lua52.changes 2015-09-19 11:10:51.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.lua52.new/lua52.changes 2017-08-14 12:35:05.333548118 +0200 @@ -1,0 +2,30 @@ +Tue Jul 25 10:04:00 UTC 2017 - tchva...@suse.com + +- Provide symbol for pkgconfig + +------------------------------------------------------------------- +Mon Jul 24 12:08:05 UTC 2017 - dims...@opensuse.org + +- Add INSTALL_LMOD and INSTALL_CMOD variables to lua52.pc: this is + queried for example by rrdtool's buildsystem. + +------------------------------------------------------------------- +Thu Jul 20 12:36:41 UTC 2017 - tchva...@suse.com + +- Properly set includedir in the .pc file + +------------------------------------------------------------------- +Thu Jul 13 17:59:07 UTC 2017 - tchva...@suse.com + +- Fix the libdir settings + +------------------------------------------------------------------- +Mon Jul 10 14:04:21 UTC 2017 - tchva...@suse.com + +- Add patch to match up the 5.3 lua build tweaking: + * lua-build-system.patch +- Remove obsolete patch: + * lua-suse.diff +- Sync the package with lua5.3 to keep exactly same featureset + +------------------------------------------------------------------- Old: ---- lua-suse.diff macros.lua New: ---- lua-build-system.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lua52.spec ++++++ --- /var/tmp/diff_new_pack.w9dvxd/_old 2017-08-14 12:35:06.597370652 +0200 +++ /var/tmp/diff_new_pack.w9dvxd/_new 2017-08-14 12:35:06.605369528 +0200 @@ -1,7 +1,7 @@ # # spec file for package lua52 # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,164 +17,188 @@ %define major_version 5.2 -%define lib_suffix 5_2 +%define libname liblua5_2-5 Name: lua52 Version: 5.2.4 Release: 0 -Summary: Small Embeddable Language with Simple Procedural Syntax +Summary: Small Embeddable Language with Procedural Syntax License: MIT -Group: Development/Languages/Lua +Group: Development/Languages/Other Url: http://www.lua.org Source: http://www.lua.org/ftp/lua-%{version}.tar.gz -Source1: macros.lua -Source2: baselibs.conf -# prefix and build shared libraries (upstream don't want this in Makefile) -# visibility: I don't see the point why divert from upstream except that -# luaU_dump, luaP_opmodes and luaP_opnames need to be visible -# to luac; if you will divert, don't forgot that LUAI_DDEC -# prefixes declaration of _variables_ -Patch: lua-suse.diff -BuildRequires: pkg-config +Source99: baselibs.conf +# PATCH-FIX-SUSE tweak the buildsystem to produce what is needed for SUSE +Patch0: lua-build-system.patch +BuildRequires: libtool +BuildRequires: lua-macros +BuildRequires: pkgconfig BuildRequires: readline-devel Requires(post): update-alternatives -Requires(preun): update-alternatives -# As other packages install files into /usr/share/lua/lua_version, -# they ought to require lua = lua_version (which is only major_version) -# in order to facilitate this, we provide the corresponding symbol here. +Requires(postun): update-alternatives +Provides: lua = %{version} Provides: Lua(API) = %{major_version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Lua is a programming language originally designed for extending -applications, but also frequently used as a general-purpose, +applications, but is also frequently used as a general-purpose, stand-alone language. -Lua combines simple procedural syntax (similar to Pascal) with powerful +Lua combines procedural syntax (similar to Pascal) with data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, interpreted from byte codes, and -has automatic memory management, making it ideal for configuration, +has automatic memory management, making it suitable for configuration, scripting, and rapid prototyping. Lua is implemented as a small library -of C functions, written in ANSI C, and the implementation goals are -simplicity, efficiency, portability, and low embedding cost. +of C functions, written in ANSI C. %package devel Summary: Development files for lua Group: Development/Libraries/C and C++ +Requires: %{libname} = %{version} Requires: %{name} = %{version} -Requires: liblua%{lib_suffix} = %{version} +Requires: lua-macros +Requires(post): update-alternatives +Requires(postun): update-alternatives +Provides: lua-devel = %{version} Provides: Lua(devel) = %{major_version} -Conflicts: otherproviders(Lua(devel)) +Provides: pkgconfig(lua) = %{version} %description devel Lua is a programming language originally designed for extending -applications, but also frequently used as a general-purpose, +applications, but is also frequently used as a general-purpose, stand-alone language. This package contains files needed for embedding lua into your application. -%package -n liblua%{lib_suffix} +%package -n %{libname} Summary: The Lua integration library Group: System/Libraries Provides: %{name}-libs = %{version} Obsoletes: %{name}-libs < %{version} +Provides: liblua5_2 = %{version}-%{release} +Obsoletes: liblua5_2 < %{version}-%{release} -%description -n liblua%{lib_suffix} +%description -n %{libname} Lua is a programming language originally designed for extending -applications, but also frequently used as a general-purpose, +applications, but is also frequently used as a general-purpose, stand-alone language. -Lua combines simple procedural syntax (similar to Pascal) with powerful +Lua combines procedural syntax (similar to Pascal) with data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, interpreted from byte codes, and -has automatic memory management, making it ideal for configuration, +has automatic memory management, making it suitable for configuration, scripting, and rapid prototyping. Lua is implemented as a small library -of C functions, written in ANSI C, and the implementation goals are -simplicity, efficiency, portability, and low embedding cost. +of C functions, written in ANSI C. %package doc -Summary: Documentation for lua, a small embeddable language +Summary: Documentation for Lua, a small embeddable language Group: Documentation/HTML -%if 0%{?suse_version} >= 1120 BuildArch: noarch -%endif %description doc Lua is a programming language originally designed for extending -applications, but also frequently used as a general-purpose, +applications, but is also frequently used as a general-purpose, stand-alone language. -Lua combines simple procedural syntax (similar to Pascal) with powerful +Lua combines procedural syntax (similar to Pascal) with data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, interpreted from byte codes, and -has automatic memory management, making it ideal for configuration, +has automatic memory management, making it suitable for configuration, scripting, and rapid prototyping. Lua is implemented as a small library -of C functions, written in ANSI C, and the implementation goals are -simplicity, efficiency, portability, and low embedding cost. +of C functions, written in ANSI C. %prep %setup -q -n lua-%{version} -%patch -p1 +%autopatch -p1 + +# manpage +cat doc/lua.1 | sed 's/TH LUA 1/TH LUA%{major_version} 1/' > doc/lua%{major_version}.1 +cat doc/luac.1 | sed 's/TH LUAC 1/TH LUAC%{major_version} 1/' > doc/luac%{major_version}.1 %build sed -i -e "s@lib/lua/@%{_lib}/lua/@g" src/luaconf.h - -make %{?_smp_mflags} -C src CC="gcc" MYCFLAGS="%{optflags} -std=gnu99 -D_GNU_SOURCE -fPIC -DLUA_USE_LINUX -DLUA_COMPAT_MODULE" MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" V=%{major_version} all +export LIBTOOL="libtool --quiet" +make %{?_smp_mflags} -C src \ + CC="cc" \ + MYCFLAGS="%{optflags} -std=gnu99 -D_GNU_SOURCE -fPIC -DLUA_USE_LINUX -DLUA_COMPAT_MODULE" \ + MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" \ + V=%{major_version} \ + all %install -make install INSTALL_TOP="%{buildroot}%{_prefix}" INSTALL_LIB="%{buildroot}%{_libdir}" INSTALL_CMOD=%{buildroot}%{_libdir}/lua/%{major_version} INSTALL_MAN="%{buildroot}%{_mandir}/man1" +make install \ + V=%{major_version} \ + INSTALL_TOP="%{buildroot}%{_prefix}" \ + INSTALL_LIB="%{buildroot}%{_libdir}" -find %{buildroot} -name "*.a" -delete -print - -# update-alternatives -mkdir -p %{buildroot}%{_sysconfdir}/alternatives -for file in lua luac ; do - mv "%{buildroot}%{_bindir}/${file}" "%{buildroot}%{_bindir}/${file}%{major_version}" - touch "%{buildroot}%{_sysconfdir}/alternatives/${file}" - ln -sf "%{_sysconfdir}/alternatives/${file}" "%{buildroot}%{_bindir}/${file}" - mv "%{buildroot}%{_mandir}/man1/${file}.1" "%{buildroot}%{_mandir}/man1/${file}%{major_version}.1" - touch "%{buildroot}%{_sysconfdir}/alternatives/${file}.1.gz" - ln -sf "%{_sysconfdir}/alternatives/${file}.1.gz" "%{buildroot}%{_mandir}/man1/${file}.1.gz" -done -install -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.lua-%{major_version} +find %{buildroot} -type f -name "*.la" -delete -print # create pkg-config file -cat > lua.pc <<-EOF +cat > lua%{major_version}.pc <<-EOF prefix=%{_prefix} exec_prefix=%{_prefix} libdir=%{_libdir} -includedir=%{_prefix}}/include +includedir=%{_prefix}/include/lua%{major_version} +INSTALL_LMOD=%{_datadir}/lua/%{major_version} +INSTALL_CMOD=%{_libdir}/lua/%{major_version} -Name: Lua +Name: Lua %{major_version} Description: An Extensible Extension Language Version: %{version} -Libs: -llua -lm -Cflags: +Libs: -llua%{major_version} -lm +Cflags: -I\${includedir} EOF -install -D -m 644 lua.pc %{buildroot}/%{_libdir}/pkgconfig/lua-%{major_version}.pc +install -D -m 644 lua%{major_version}.pc %{buildroot}/%{_libdir}/pkgconfig/lua%{major_version}.pc + +# update-alternatives +mkdir -p %{buildroot}%{_sysconfdir}/alternatives +for file in lua luac ; do + touch "%{buildroot}%{_sysconfdir}/alternatives/${file}" + ln -sf "%{_sysconfdir}/alternatives/${file}" "%{buildroot}%{_bindir}/${file}" + touch "%{buildroot}%{_sysconfdir}/alternatives/${file}.1%{ext_man}" + ln -sf "%{_sysconfdir}/alternatives/${file}.1%{ext_man}" "%{buildroot}%{_mandir}/man1/${file}.1%{ext_man}" +done + +# Compat link with older unprefixed library and with soname 0 from deb/etc +ln -s %{_libdir}/liblua%{major_version}.so.%{major_version}.0 %{buildroot}%{_libdir}/liblua%{major_version}.so.%{major_version} +ln -s %{_libdir}/liblua%{major_version}.so.%{major_version}.0 %{buildroot}%{_libdir}/liblua%{major_version}.so.0 +ln -s %{_libdir}/liblua%{major_version}.so.%{major_version}.0 %{buildroot}%{_libdir}/liblua.so.%{major_version} +# Library devel alternatives +touch %{buildroot}%{_sysconfdir}/alternatives/liblua.so +ln -sf %{_sysconfdir}/alternatives/liblua.so %{buildroot}%{_libdir}/liblua.so +touch %{buildroot}%{_sysconfdir}/alternatives/lua.pc +ln -sf %{_sysconfdir}/alternatives/lua.pc %{buildroot}%{_libdir}/pkgconfig/lua.pc %check cd src -LD_LIBRARY_PATH=`pwd` ./lua -e 'print(0)' > /dev/null +LD_LIBRARY_PATH=`pwd` ./lua%{major_version} -e 'print(0)' > /dev/null + +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig %post %{_sbindir}/update-alternatives --install \ - %{_bindir}/lua lua %{_bindir}/lua%{major_version} 20 \ + %{_bindir}/lua lua %{_bindir}/lua%{major_version} 52 \ --slave %{_bindir}/luac luac %{_bindir}/luac%{major_version} \ - --slave %{_mandir}/man1/lua.1.gz lua.1.gz %{_mandir}/man1/lua%{major_version}.1.gz \ - --slave %{_mandir}/man1/luac.1.gz luac.1.gz %{_mandir}/man1/luac%{major_version}.1.gz + --slave %{_mandir}/man1/lua.1%{ext_man} lua.1%{ext_man} %{_mandir}/man1/lua%{major_version}.1%{ext_man} \ + --slave %{_mandir}/man1/luac.1%{ext_man} luac.1%{ext_man} %{_mandir}/man1/luac%{major_version}.1%{ext_man} -%preun +%postun if [ "$1" = 0 ] ; then %{_sbindir}/update-alternatives --remove lua %{_bindir}/lua%{major_version} fi -%post -n liblua%{lib_suffix} -p /sbin/ldconfig +%post devel +%{_sbindir}/update-alternatives --install \ + %{_libdir}/liblua.so liblua.so %{_libdir}/liblua%{major_version}.so 52 \ + --slave %{_libdir}/pkgconfig/lua.pc lua.pc %{_libdir}/pkgconfig/lua%{major_version}.pc -%postun -n liblua%{lib_suffix} -p /sbin/ldconfig +%postun devel +if [ "$1" = 0 ] ; then + %{_sbindir}/update-alternatives --remove liblua.so %{_libdir}/liblua%{major_version}.so +fi %files -%defattr(-,root,root) %doc README %dir %{_libdir}/lua %dir %{_libdir}/lua/%{major_version} @@ -182,34 +206,39 @@ %dir %{_datadir}/lua/%{major_version} %{_bindir}/lua%{major_version} %{_bindir}/luac%{major_version} -%{_mandir}/man1/lua%{major_version}.1.gz -%{_mandir}/man1/luac%{major_version}.1.gz +%{_mandir}/man1/lua%{major_version}.1%{ext_man} +%{_mandir}/man1/luac%{major_version}.1%{ext_man} +# alternatives %{_bindir}/lua %{_bindir}/luac -%{_mandir}/man1/lua.1.gz -%{_mandir}/man1/luac.1.gz +%{_mandir}/man1/lua.1%{ext_man} +%{_mandir}/man1/luac.1%{ext_man} %ghost %{_sysconfdir}/alternatives/lua %ghost %{_sysconfdir}/alternatives/luac -%ghost %{_sysconfdir}/alternatives/lua.1.gz -%ghost %{_sysconfdir}/alternatives/luac.1.gz +%ghost %{_sysconfdir}/alternatives/lua.1%{ext_man} +%ghost %{_sysconfdir}/alternatives/luac.1%{ext_man} -%files -n liblua%{lib_suffix} -%defattr(-,root,root) -%{_libdir}/liblua.so.%{major_version} +%files -n %{libname} +%{_libdir}/liblua%{major_version}.so.* +%{_libdir}/liblua.so.* %files devel -%defattr(-,root,root) -%config %{_sysconfdir}/rpm/macros.lua-%{major_version} -%{_includedir}/lauxlib.h -%{_includedir}/lua.h -%{_includedir}/lua.hpp -%{_includedir}/luaconf.h -%{_includedir}/lualib.h +%dir %{_includedir}/lua%{major_version} +%{_includedir}/lua%{major_version}/lauxlib.h +%{_includedir}/lua%{major_version}/lua.h +%{_includedir}/lua%{major_version}/lua.hpp +%{_includedir}/lua%{major_version}/luaconf.h +%{_includedir}/lua%{major_version}/lualib.h +%{_libdir}/liblua%{major_version}.a +%{_libdir}/liblua%{major_version}.so +%{_libdir}/pkgconfig/lua%{major_version}.pc +# alternatives %{_libdir}/liblua.so -%{_libdir}/pkgconfig/lua-%{major_version}.pc +%{_libdir}/pkgconfig/lua.pc +%ghost %{_sysconfdir}/alternatives/liblua.so +%ghost %{_sysconfdir}/alternatives/lua.pc %files doc -%defattr(-,root,root) %doc doc/* %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.w9dvxd/_old 2017-08-14 12:35:06.737350996 +0200 +++ /var/tmp/diff_new_pack.w9dvxd/_new 2017-08-14 12:35:06.741350434 +0200 @@ -1 +1 @@ -liblua5_2 +liblua5_2-5 ++++++ lua-build-system.patch ++++++ From: Enrico Tassi <gareuselesi...@debian.org> Date: Sun, 1 Mar 2015 16:13:52 +0100 Subject: build system --- Makefile | 25 ++++++++++++++----------- src/Makefile | 31 +++++++++++++++++++------------ 2 files changed, 33 insertions(+), 23 deletions(-) Index: lua-5.2.4/Makefile =================================================================== --- lua-5.2.4.orig/Makefile +++ lua-5.2.4/Makefile @@ -1,6 +1,8 @@ # Makefile for installing Lua # See doc/readme.html for installation and customization instructions. +export LIBTOOL=libtool --quiet + # == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT ======================= # Your platform. See PLATS for possible values. @@ -10,19 +12,20 @@ PLAT= none # so take care if INSTALL_TOP is not an absolute path. See the local target. # You may want to make INSTALL_LMOD and INSTALL_CMOD consistent with # LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h. -INSTALL_TOP= /usr/local +INSTALL_TOP= /usr INSTALL_BIN= $(INSTALL_TOP)/bin -INSTALL_INC= $(INSTALL_TOP)/include -INSTALL_LIB= $(INSTALL_TOP)/lib -INSTALL_MAN= $(INSTALL_TOP)/man/man1 +INSTALL_INC= $(INSTALL_TOP)/include/lua$(V)/ +INSTALL_LIB= $(INSTALL_TOP)/lib/ +INSTALL_MAN= $(INSTALL_TOP)/share/man/man1 INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V -INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/$V +INSTALL_CMOD= $(INSTALL_LIB)/lua/$V # How to install. If your install program does not support "-p", then # you may have to run ranlib on the installed liblua.a. INSTALL= install -p INSTALL_EXEC= $(INSTALL) -m 0755 INSTALL_DATA= $(INSTALL) -m 0644 +INSTALL_LIBTOOL= $(LIBTOOL) --mode=install install -m 0644 # # If you don't have "install" you can use "cp" instead. # INSTALL= cp -p @@ -39,10 +42,10 @@ RM= rm -f PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris # What to install. -TO_BIN= lua luac +TO_BIN= lua$(V) luac$(V) TO_INC= lua.h luaconf.h lualib.h lauxlib.h lua.hpp -TO_LIB= liblua.a -TO_MAN= lua.1 luac.1 +TO_LIB= liblua$(V).la +TO_MAN= lua$(V).1 luac$(V).1 # Lua version and release. V= 5.2 @@ -52,16 +55,16 @@ R= $V.4 all: $(PLAT) $(PLATS) clean: - cd src && $(MAKE) $@ + cd src && $(MAKE) $@ V=$(V) test: dummy - src/lua -v + $(LIBTOOL) --mode=execute -dlopen src/liblua$(V).la src/lua$(V) -v install: dummy cd src && $(MKDIR) $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) $(INSTALL_LMOD) $(INSTALL_CMOD) cd src && $(INSTALL_EXEC) $(TO_BIN) $(INSTALL_BIN) cd src && $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC) - cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB) + cd src && $(INSTALL_LIBTOOL) $(TO_LIB) $(INSTALL_LIB) cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN) uninstall: Index: lua-5.2.4/src/Makefile =================================================================== --- lua-5.2.4.orig/src/Makefile +++ lua-5.2.4/src/Makefile @@ -7,7 +7,7 @@ PLAT= none CC= gcc -CFLAGS= -O2 -Wall -DLUA_COMPAT_ALL $(SYSCFLAGS) $(MYCFLAGS) +CFLAGS= -Wall -DLUA_COMPAT_ALL $(SYSCFLAGS) $(MYCFLAGS) LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS) LIBS= -lm $(SYSLIBS) $(MYLIBS) @@ -21,14 +21,17 @@ SYSLIBS= MYCFLAGS= MYLDFLAGS= -MYLIBS= +MYLIBS=-ldl MYOBJS= +%.o : %.c + $(LIBTOOL) --mode=compile --tag=CC $(CC) $(CFLAGS) -c $< -o $@ + # == END OF USER SETTINGS -- NO NEED TO CHANGE ANYTHING BELOW THIS LINE ======= PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris -LUA_A= liblua.a +LUA_A= liblua$(V).a CORE_O= lapi.o lcode.o lctype.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 @@ -36,10 +39,10 @@ LIB_O= lauxlib.o lbaselib.o lbitlib.o lc lmathlib.o loslib.o lstrlib.o ltablib.o loadlib.o linit.o BASE_O= $(CORE_O) $(LIB_O) $(MYOBJS) -LUA_T= lua +LUA_T= lua$(V) LUA_O= lua.o -LUAC_T= luac +LUAC_T= luac$(V) LUAC_O= luac.o ALL_O= $(BASE_O) $(LUA_O) $(LUAC_O) @@ -56,14 +59,13 @@ o: $(ALL_O) a: $(ALL_A) $(LUA_A): $(BASE_O) - $(AR) $@ $(BASE_O) - $(RANLIB) $@ + $(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) -lm -ldl $(BASE_O:.o=.lo) -rpath /usr/lib -version-info 7:0:2 -o liblua$(V).la $(LUA_T): $(LUA_O) $(LUA_A) - $(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS) + $(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) $(LIBS) -static liblua$(V).la -Wl,-E lua.lo -o $@ $(LUAC_T): $(LUAC_O) $(LUA_A) - $(CC) -o $@ $(LDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS) + $(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) -static liblua$(V).la luac.lo -o $@ clean: $(RM) $(ALL_T) $(ALL_O) Index: lua-5.2.4/src/luaconf.h =================================================================== --- lua-5.2.4.orig/src/luaconf.h +++ lua-5.2.4/src/luaconf.h @@ -100,7 +100,7 @@ #else /* }{ */ #define LUA_VDIR LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "/" -#define LUA_ROOT "/usr/local/" +#define LUA_ROOT "/usr/" #define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR #define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR #define LUA_PATH_DEFAULT \