aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wslay
diff options
context:
space:
mode:
authorBennett Goble <nivardus@gmail.com>2015-06-13 22:42:45 -0400
committerFrancesco Colista <fcolista@alpinelinux.org>2015-06-16 09:47:31 +0000
commit382933aaa01377b9d3e6c50370e8406da3facf2c (patch)
tree2477f70b728ad8467ba2d903e5e0e10e6d19ff70 /testing/wslay
parentacdb8dd5462fc65f6e3cc3bfa474b9ecf4109447 (diff)
downloadaports-382933aaa01377b9d3e6c50370e8406da3facf2c.tar.bz2
aports-382933aaa01377b9d3e6c50370e8406da3facf2c.tar.xz
testing/wslay: new aport
http://wslay.sourceforget.net/ wslay is a websocket library written in C
Diffstat (limited to 'testing/wslay')
-rw-r--r--testing/wslay/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/wslay/APKBUILD b/testing/wslay/APKBUILD
new file mode 100644
index 0000000000..a1f6f92223
--- /dev/null
+++ b/testing/wslay/APKBUILD
@@ -0,0 +1,39 @@
+# 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="http://wslay.sourceforge.net/"
+arch="all"
+license="MIT"
+depends=
+makedepends="autoconf automake libtool py-sphinx"
+install=
+subpackages="$pkgname-doc $pkgname-dev"
+source="https://github.com/tatsuhiro-t/wslay/archive/release-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-release-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ autoreconf -i && automake && autoconf || return 1
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --prefix=/usr \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="983f75df5a18693edba23a9d793036e4 release-1.0.0.tar.gz"
+sha256sums="874c4a6aa15b596846ff3a3ef848b8a6e6f4ca579a1657df9b318a06ac6c79a6 release-1.0.0.tar.gz"
+sha512sums="12aadf5a36a38efcbec68f42bc49f6fdc272be44b986e2ca26d6bf0660bf39437a400a7f33de9d8abfad0b2fde64ffef32cea5a586868aa33fa685e257e39a35 release-1.0.0.tar.gz"