New package: libwebsockets-1.4

This commit is contained in:
Enno Boland 2015-04-13 17:53:17 +02:00
parent e1228ce63b
commit 4b3baf57fb
3 changed files with 33 additions and 0 deletions

View file

@ -1991,3 +1991,4 @@ libcvm-v1client.so.1 cvm-0.97_1
libcvm-v2client.so.1 cvm-0.97_1
libudns.so.0 udns-0.4_1
libcriu.so.1 criu-1.5.1_2
libwebsockets.so.5 libwebsockets-1.4_1

1
srcpkgs/libwebsockets-devel Symbolic link
View file

@ -0,0 +1 @@
libwebsockets

View file

@ -0,0 +1,31 @@
# Template file for 'libwebsockets'
pkgname=libwebsockets
version=1.4
_ffver=36
_chromever=43
revision=1
build_style=cmake
hostmakedepends="cmake"
makedepends="zlib-devel libressl-devel"
depends=""
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
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"
}
}