Add support for preloading lua modules. This is useful both when
providing lua bindings to applications based on librazor and when
producing static binaries using librazor (where otherwise the lua
POSIX library would need to be included as an additional dynamic
object).
8 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
19 mkdir -p %{buildroot}%{_sysconfdir}
20 mkdir -p %{buildroot}/{%{_bindir},%{_libdir},%{_includedir}}
21 mkdir -p %{buildroot}/media
27 function mkdir_missing(dir)
28 if posix.stat(dir) == nil then
32 mkdir_missing("/media/cdrom")
35 %defattr(0755,root,root)