blob: 80a5e7cbb0a96abd1d6c4415c9942932bf96e255 (
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
|
# 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
py3.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="c50435d5b74ce3e817986f2a587cb86726f23545dde6d046a7d0f0bdfe0b4d236739d22c14d74b7e9b5a45e799bb94002c710b2724d0c31629ca41eeadad5749 wslay-1.1.0.tar.gz
efcb68370526598488cfadb23291eda0109bd53696468557c77073eb1782f1cb449cc0c60f01e806297c2895b42476cb143d2a6744e69e85d0204bd2a849afde py3.patch"
|