forked from pool/lua-toluapp
This commit is contained in:
parent
f780ee856e
commit
50b069722d
@ -23,8 +23,7 @@ Version: 1.0.93
|
||||
Release: 0
|
||||
Summary: C/C++ with Lua Integration Tool
|
||||
License: MIT
|
||||
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
|
||||
Group: Development/Languages/Lua
|
||||
Group: Development/Languages/Other
|
||||
Url: https://github.com/LuaDist/toluapp
|
||||
Source: https://github.com/LuaDist/toluapp/archive/%{version}/toluapp-%{version}.tar.gz
|
||||
Patch0: toluapp-libdir.patch
|
||||
@ -48,8 +47,7 @@ Lua. tolua++ includes new features oriented to c++ such as:
|
||||
|
||||
%package -n toluapp-%{lua_version}
|
||||
Summary: C/C++ with Lua Integration Tool
|
||||
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
|
||||
Group: Development/Languages/Lua
|
||||
Group: Development/Languages/Other
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
|
||||
@ -110,7 +108,8 @@ scons %{?_smp_mflags} \
|
||||
prefix="%{buildroot}%{_prefix}" \
|
||||
libdir="%{buildroot}%{_libdir}" \
|
||||
shared=1 \
|
||||
install
|
||||
install \
|
||||
-Q CCFLAGS="%{optflags} -I%{lua_incdir} -fPIC"
|
||||
|
||||
# pkgconfig file
|
||||
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user