mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
41 lines
971 B
Plaintext
41 lines
971 B
Plaintext
# Contributor: Bennett Goble <nivardus@gmail.com>
|
|
# Maintainer:
|
|
pkgname=wslay
|
|
pkgver=1.1.1
|
|
pkgrel=2
|
|
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
|
|
"
|