forked from pool/lua-zlib
This commit is contained in:
committed by
Git OBS Bridge
parent
06671b577f
commit
f22ba77c0b
@@ -41,13 +41,14 @@ lua-zlib is a simple streaming interface to zlib for Lua.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} linux \
|
make %{?_smp_mflags} linux \
|
||||||
INCDIR="%{lua_incdir}" \
|
INCDIR="-I%{lua_incdir}" \
|
||||||
LUAPATH="%{lua_noardir}" \
|
LUAPATH="%{lua_noardir}" \
|
||||||
LUACPATH="%{lua_archdir}" \
|
LUACPATH="%{lua_archdir}" \
|
||||||
CFLAGS="%{optflags}"
|
CFLAGS="%{optflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install LUACPATH="%{lua_archdir}"
|
mkdir -p %{buildroot}/%{lua_archdir}
|
||||||
|
%make_install LUACPATH="%{buildroot}%{lua_archdir}"
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
Reference in New Issue
Block a user