fun with autotools
This commit is contained in:
parent
2a1a006775
commit
d62a4825e1
@ -15,7 +15,7 @@ Source0: https://github.com/luaposix/luaposix/archive/%{commit}/%{name}-%
|
|||||||
Patch0: luaposix-lua-5.2.patch
|
Patch0: luaposix-lua-5.2.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: lua >= %{luaver}, lua-devel >= %{luaver}
|
BuildRequires: lua >= %{luaver}, lua-devel >= %{luaver}
|
||||||
BuildRequires: ncurses-devel, autoconf, automake, libtool
|
BuildRequires: ncurses-devel
|
||||||
Requires: lua >= %{luaver}
|
Requires: lua >= %{luaver}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -25,7 +25,6 @@ to Lua programs.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n luaposix-%{commit}
|
%setup -q -n luaposix-%{commit}
|
||||||
%patch0 -p1 -b .lua-52
|
%patch0 -p1 -b .lua-52
|
||||||
autoreconf -vif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --libdir=%{lualibdir} --datadir=/%{luapkgdir}
|
%configure --libdir=%{lualibdir} --datadir=/%{luapkgdir}
|
||||||
|
Loading…
Reference in New Issue
Block a user