aboutsummaryrefslogtreecommitdiffstats
path: root/community/wslay/APKBUILD
blob: 021d3abdb85f7fa14572732511e42294e48a4d8d (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
# Contributor: Bennett Goble <nivardus@gmail.com>
# Maintainer: Bennett Goble <nivardus@gmail.com>
pkgname=wslay
pkgver=1.1.0
pkgrel=0
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
	"
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="c50435d5b74ce3e817986f2a587cb86726f23545dde6d046a7d0f0bdfe0b4d236739d22c14d74b7e9b5a45e799bb94002c710b2724d0c31629ca41eeadad5749  wslay-1.1.0.tar.gz"