blob: 91fa6309c349d9de075f587439658e347f41d86b (
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
|
# Contributor: Bennett Goble <nivardus@gmail.com>
# Maintainer: Bennett Goble <nivardus@gmail.com>
pkgname=wslay
pkgver=1.0.0
pkgrel=1
pkgdesc="The WebSocket library in C"
url="https://tatsuhiro-t.github.io/wslay/"
arch="all"
license="MIT"
makedepends="autoconf automake libtool py-sphinx"
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() {
cd "$builddir"
autoreconf -i && automake && autoconf
}
build() {
cd "$builddir"
./configure \
--prefix=/usr \
--disable-static
make -j1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="12aadf5a36a38efcbec68f42bc49f6fdc272be44b986e2ca26d6bf0660bf39437a400a7f33de9d8abfad0b2fde64ffef32cea5a586868aa33fa685e257e39a35 wslay-1.0.0.tar.gz"
|