2015-04-13 15:53:17 +00:00
|
|
|
# Template file for 'libwebsockets'
|
|
|
|
pkgname=libwebsockets
|
|
|
|
version=1.4
|
|
|
|
_ffver=36
|
|
|
|
_chromever=43
|
2015-08-19 21:45:29 +00:00
|
|
|
revision=5
|
2015-04-13 15:53:17 +00:00
|
|
|
build_style=cmake
|
|
|
|
hostmakedepends="cmake"
|
2015-04-14 10:54:24 +00:00
|
|
|
makedepends="zlib-devel libressl-devel libev-devel"
|
|
|
|
configure_args="-DLWS_WITH_LIBEV=1 -DLWS_USE_IPV6=1"
|
2015-04-13 15:53:17 +00:00
|
|
|
short_desc="Lightweight client and server websocket library"
|
|
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
|
|
license="LGPL-2"
|
|
|
|
homepage="https://libwebsockets.org"
|
|
|
|
wrksrc=libwebsockets-$version-chrome$_chromever-firefox-$_ffver
|
|
|
|
distfiles="http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/snapshot/$wrksrc.tar.gz"
|
|
|
|
checksum=e11492477e582ef0b1a6ea2f18d81a9619b449170a3a5c43f32a9468461a9798
|
2015-08-19 21:45:29 +00:00
|
|
|
CFLAGS="-Wno-error"
|
2015-04-13 15:53:17 +00:00
|
|
|
|
|
|
|
libwebsockets-devel_package() {
|
|
|
|
depends="libwebsockets>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove usr/share/libwebsockets-test-server
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|