aboutsummaryrefslogtreecommitdiffstats
path: root/community/gwsocket
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-10-27 01:05:37 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-10-27 01:05:37 +0200
commit28e5c0b36b00622c73ba03e81c4f0939a6f64395 (patch)
tree61a165bbaf80fdea389cc061d85ffab66c66cdd7 /community/gwsocket
parent475b098ea3cbd303c1653776ff9b6cce2b97fd8d (diff)
downloadaports-28e5c0b36b00622c73ba03e81c4f0939a6f64395.tar.bz2
aports-28e5c0b36b00622c73ba03e81c4f0939a6f64395.tar.xz
community/gwsocket: move from testing
Diffstat (limited to 'community/gwsocket')
-rw-r--r--community/gwsocket/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/community/gwsocket/APKBUILD b/community/gwsocket/APKBUILD
new file mode 100644
index 0000000000..613fd504ad
--- /dev/null
+++ b/community/gwsocket/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Jakub Jirutka <jakub@jirutka.cz>
+# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
+pkgname=gwsocket
+pkgver=0.2
+pkgrel=0
+pkgdesc="A simple, standalone, language-agnostic, RFC6455 compliant WebSocket Server"
+url="http://gwsocket.io"
+arch="all"
+license="MIT"
+depends=""
+makedepends="autoconf automake"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/allinurl/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ default_prepare || return 1
+
+ cd "$builddir"
+ autoreconf -fiv
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="49e6f5392d7a2d0d6ca505d3b35beac2 gwsocket-0.2.tar.gz"
+sha256sums="cafb0cbde1d8b366c74c1602a8d2e1bde054834aa5c618cfad5603a871ae4082 gwsocket-0.2.tar.gz"
+sha512sums="074676e8df80b3250be041e0f9225e6a5ba59eb8ecad9b95cd2b11038e52bc0a462144fbc302eb9b7816f38a23b12b4d9a7e949dce206fcb19938adeb5f4feb2 gwsocket-0.2.tar.gz"