void-packages/srcpkgs/libwebsockets/template
Toyam Cox e06807b752 libwebsockets: update to 2.0.2. Again.
Original update was on Jun 1. Team re-tagged 2.0.2 on Jun 6.
2016-08-07 02:21:52 -04:00

28 lines
859 B
Bash

# Template file for 'libwebsockets'
pkgname=libwebsockets
version=2.0.2
revision=2
build_style=cmake
makedepends="zlib-devel libressl-devel libev-devel"
configure_args="-DLWS_WITH_LIBEV=1 -DLWS_WITH_HTTP2=1 -DLWS_USE_IPV6=1"
short_desc="Lightweight client and server websocket library"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="LGPL-2"
homepage="https://libwebsockets.org"
distfiles="https://github.com/warmcat/libwebsockets/archive/v$version.tar.gz"
checksum=43865604debd06686ac4d8d0783976c4e10dd519ccd5c94e1b53878ec6178a59
CFLAGS="-Wno-error"
libwebsockets-devel_package() {
depends="libwebsockets>=${version}_${revision} libev-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/share/libwebsockets-test-server
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}