void-packages/srcpkgs/libwebsockets/template

32 lines
954 B
Bash
Raw Normal View History

2015-04-13 17:53:17 +02:00
# Template file for 'libwebsockets'
pkgname=libwebsockets
2015-11-18 23:23:08 +00:00
version=1.5
revision=1
_ffver=41
_chromever=47
2015-04-13 17:53:17 +02:00
build_style=cmake
hostmakedepends="cmake"
2015-04-14 12:54:24 +02:00
makedepends="zlib-devel libressl-devel libev-devel"
configure_args="-DLWS_WITH_LIBEV=1 -DLWS_USE_IPV6=1"
2015-04-13 17:53:17 +02:00
short_desc="Lightweight client and server websocket library"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="LGPL-2"
homepage="https://libwebsockets.org"
2015-11-18 23:23:08 +00:00
wrksrc=libwebsockets-$version-chrome$_chromever-firefox$_ffver
2015-04-13 17:53:17 +02:00
distfiles="http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/snapshot/$wrksrc.tar.gz"
2015-11-18 23:23:08 +00:00
checksum=27f3e2dbd04b8375923f6353536c741559a21dd4713f8c302b23441d6fe82403
2015-08-19 23:45:29 +02:00
CFLAGS="-Wno-error"
2015-04-13 17:53:17 +02:00
libwebsockets-devel_package() {
depends="libwebsockets>=${version}_${revision}"
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"
}
}