aboutsummaryrefslogtreecommitdiffstats
path: root/community/wslay/APKBUILD
blob: 749975253077e149589e01f946e6085ab924810f (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
# Contributor: Bennett Goble <nivardus@gmail.com>
# Maintainer:
pkgname=wslay
pkgver=1.1.1
pkgrel=3
pkgdesc="The WebSocket library in C"
url="https://tatsuhiro-t.github.io/wslay/"
arch="all"
license="MIT"
makedepends="autoconf automake libtool py3-sphinx cunit-dev"
subpackages="$pkgname-doc $pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/tatsuhiro-t/wslay/archive/release-$pkgver.tar.gz
	sphinx.patch
	"
builddir="$srcdir"/$pkgname-release-$pkgver

prepare() {
	default_prepare
	autoreconf -fi
}

build() {
	./configure \
		--prefix=/usr \
		--disable-static
	make -j1
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
b42c66c738a3f33bc7de30e8975f4fb2dc60a8baef44be8d254110c8915e14cdaa4cbdd6b29184a66061fe387ec0948e896cb174a1dd8c85a97b5feedfde162e  wslay-1.1.1.tar.gz
1165505df6e9d783bb9846a969cd49bf88c75c1c7beefdf9ded9b8bdbdbdb70138ed720f7266d83f18e35d2cef03deb29b0386689c9e240381aa9d386871af11  sphinx.patch
"