blob: 92d1b27170f8bda9e2d8cf79bcd1a8afed1806a1 (
plain)
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
|
pkgname=ixwebsocket
pkgver=11.4.4
pkgrel=1
pkgdesc="websocket and http client and server library, with TLS support and very few dependencies"
url="https://github.com/machinezone/IXWebSocket"
license=('BSD-3-Clause')
arch=('x86_64' 'aarch64' 'armv7h' 'riscv64')
source=("https://github.com/machinezone/IXWebSocket/archive/refs/tags/v$pkgver.tar.gz" )
sha256sums=('9ef7fba86a91ce18693451466ddc54b1e0c4a7dc4466c3028d888d6d55dde539')
makedepends=('cmake' 'make' 'gcc')
depends=('openssl')
prepare(){
cd "IXWebSocket-$pkgver"
}
build() {
cd "IXWebSocket-$pkgver"
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DUSE_TLS=1 -DBUILD_SHARED_LIBS=ON ..
make
}
package() {
cd "IXWebSocket-$pkgver"
cd build
make DESTDIR="$pkgdir/" install
}
|