The autogen.sh script in this project is pretty horrific and
no longer building on Tizen 3.0 so switch over to the cmake build
along with a quick fix
)
install(FILES ${PROJECT_BINARY_DIR}/libwebsockets.pc
- DESTINATION include/pkgconfig)
+ DESTINATION lib${LIB_SUFFIX}/pkgconfig)
endif()
# Install headers.
Requires(postun): /sbin/ldconfig
BuildRequires: zlib-devel
BuildRequires: openssl-devel
+BuildRequires: cmake
%description
C Websockets Server Library
%build
-./autogen.sh
-%configure --enable-openssl
+%cmake -DWITH_SSL=On
make %{?jobs:-j%jobs}