-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathlibwebsockets.yaml
72 lines (62 loc) · 1.64 KB
/
libwebsockets.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package:
name: libwebsockets
version: 4.3.3
epoch: 0
description: C library for lightweight websocket clients and servers
copyright:
- license: MIT
environment:
contents:
packages:
- autoconf
- automake
- build-base
- busybox
- ca-certificates-bundle
- cmake
- libuv-dev
- linux-headers
- openssl-dev
- samurai
- zlib-dev
pipeline:
- uses: fetch
with:
expected-sha256: 6fd33527b410a37ebc91bb64ca51bdabab12b076bc99d153d7c5dd405e4bdf90
uri: https://github.com/warmcat/libwebsockets/archive/v${{package.version}}.tar.gz
- uses: cmake/configure
with:
opts: |
-DLWS_IPV6=ON \
-DLWS_WITH_LIBUV=ON \
-DLWS_WITH_STATIC=OFF \
-DLWS_LINK_TESTAPPS_DYNAMIC=ON \
-DLWS_WITH_SDEVENT=OFF
- uses: cmake/build
- uses: cmake/install
- uses: strip
subpackages:
- name: libwebsockets-dev
pipeline:
- uses: split/dev
dependencies:
runtime:
- libwebsockets
description: libwebsockets dev
- name: libwebsockets-test
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr
mv ${{targets.destdir}}/usr/share ${{targets.subpkgdir}}/usr/
mv ${{targets.destdir}}/usr/bin ${{targets.subpkgdir}}/usr/
description: libwebsockets (test server)
- name: libwebsockets-evlib_uv
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib
mv ${{targets.destdir}}/usr/lib/libwebsockets-evlib_uv.so ${{targets.subpkgdir}}/usr/lib/
description: libwebsocket plugin
update:
enabled: true
release-monitor:
identifier: 11181