aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/libwebsockets/APKBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/main/libwebsockets/APKBUILD b/main/libwebsockets/APKBUILD
index c50c2c839a..b9a195a499 100644
--- a/main/libwebsockets/APKBUILD
+++ b/main/libwebsockets/APKBUILD
@@ -1,12 +1,13 @@
# Contributor: V.Krishn <vkrishn4@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libwebsockets
-pkgver=2.4.0
-pkgrel=1
+pkgver=2.4.1
+pkgrel=0
pkgdesc="C library for lightweight websocket clients and servers"
url="http://libwebsockets.org"
arch="all"
license="LGPL2+"
+options="!check"
makedepends="cmake zlib-dev libressl-dev"
subpackages="$pkgname-doc $pkgname-dev $pkgname-test:_test"
source="$pkgname-$pkgver.tar.gz::https://github.com/warmcat/$pkgname/archive/v$pkgver.tar.gz"
@@ -23,6 +24,13 @@ build() {
make
}
+# TODO: Use test subpkg to validate
+check() {
+ cd "$builddir"
+
+ make check
+}
+
package() {
cd "$builddir"
@@ -38,4 +46,4 @@ _test() {
mv "$pkgdir"/usr/share "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-sha512sums="89ccc24b44e4f38f3b3918634dc5f2be78be1ea9fc1748064c8a54adae026c410bfc743caf9bbd304c312e34e624f5f8fb101d7b36052af9b94dbf309625ec0a libwebsockets-2.4.0.tar.gz"
+sha512sums="a5f6a3388517d6f46183dfd1e625475ac1d4d509690e431a581d6ca927078fa50ac9a0787b4305fe088c694af1809335020bfc083a4d4d98585143f13ff61c75 libwebsockets-2.4.1.tar.gz"