aboutsummaryrefslogtreecommitdiffstats
path: root/testing/prosody/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/prosody/APKBUILD')
-rw-r--r--testing/prosody/APKBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/testing/prosody/APKBUILD b/testing/prosody/APKBUILD
index 1b8b77231f..43128210b4 100644
--- a/testing/prosody/APKBUILD
+++ b/testing/prosody/APKBUILD
@@ -1,16 +1,18 @@
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+_luaver=5.1
pkgname=prosody
pkgver=0.9.6
-pkgrel=0
+pkgrel=1
pkgdesc="Lua based Jabber/XMPP server"
url="http://prosody.im/"
arch="all"
license="MIT"
-depends="lua-socket lua-expat lua-filesystem lua-sec"
-makedepends="lua-dev libidn-dev openssl-dev"
+depends="lua${_luaver}-socket lua${_luaver}-expat lua${_luaver}-filesystem
+ lua${_luaver}-sec lua${_luaver}"
+makedepends="lua${_luaver}-dev libidn-dev openssl-dev"
install="prosody.pre-install"
-subpackages=""
+subpackages="$pkgname-doc"
pkgusers="prosody"
pkggroups="prosody"
source="http://prosody.im/downloads/source/$pkgname-$pkgver.tar.gz
@@ -26,8 +28,11 @@ build() {
--sysconfdir=/etc/prosody \
--with-lua=/usr/bin \
--with-lua-lib=/usr/lib \
- --with-lua-include=/usr/include
-
+ --with-lua-include=/usr/include \
+ --runwith=lua5.1 \
+ --no-example-certs \
+ || return 1
+
#Don't generate cert
rm "$_builddir"/certs/Makefile