aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-protocol-websocket
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-04-19 19:50:22 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-04-19 19:52:26 +0200
commitb69772b64fc879fff81e417ef870c075c20b498e (patch)
tree96ddcc1d61626593a7cd5cba50fc59c350d8c913 /main/perl-protocol-websocket
parenta965b7020b001d4766b15d92c99e278dad0ee701 (diff)
downloadaports-b69772b64fc879fff81e417ef870c075c20b498e.tar.bz2
aports-b69772b64fc879fff81e417ef870c075c20b498e.tar.xz
main/perl-protocol-websocket: move from testing (needed for nginx)
Diffstat (limited to 'main/perl-protocol-websocket')
-rw-r--r--main/perl-protocol-websocket/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/perl-protocol-websocket/APKBUILD b/main/perl-protocol-websocket/APKBUILD
new file mode 100644
index 0000000000..cd01b39676
--- /dev/null
+++ b/main/perl-protocol-websocket/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Jakub Jirutka <jakub@jirutka.cz>
+# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
+pkgname=perl-protocol-websocket
+_pkgreal=Protocol-WebSocket
+pkgver=0.20
+pkgrel=0
+pkgdesc="WebSocket protocol"
+url="http://search.cpan.org/dist/Protocol-WebSocket/"
+arch="noarch"
+license="GPL PerlArtistic"
+depends="perl"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/V/VT/VTI/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ default_prepare
+
+ cd "$builddir"
+ perl Build.PL --installdirs=vendor
+}
+
+build() {
+ cd "$builddir"
+ ./Build
+}
+
+check() {
+ cd "$builddir"
+ ./Build test
+}
+
+package() {
+ cd "$builddir"
+ ./Build install --destdir="$pkgdir"
+}
+
+sha512sums="ee76314fabb4126858c7211aa5e2b679885f37d34cf934f2ac2a5482e89973c3b06051c6ad7f8460c9222816e3d5dc93183225ba7f0ccfae084abeec791a5bcb Protocol-WebSocket-0.20.tar.gz"