blob: 3c479e4758b37401006eeb8d156350a31b01fba2 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=gwsocket
pkgver=0.1
pkgrel=0
pkgdesc="A simple, standalone, language-agnostic, RFC6455 compliant WebSocket Server"
url="http://gwsocket.io"
arch="all"
license="MIT"
depends=""
makedepends="autoconf automake"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/allinurl/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare || return 1
cd "$builddir"
autoreconf -fiv
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="0a542e2f6dff97dc8384586bd6e5ed3e gwsocket-0.1.tar.gz"
sha256sums="26894e568898d416c41440b14fd1482d2a0774471ebf9677a2a429a0da0f5961 gwsocket-0.1.tar.gz"
sha512sums="d51b47b338df4b83900311cb9fdd9a0dbd21b41ed3c345c5d08b8da332d6ff82d060818cae03de1d404d0787683d6ffc301ebf762dae631df4891ae74923166a gwsocket-0.1.tar.gz"
|