aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-09-08 08:51:22 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-09-08 08:51:22 +0200
commit9f5de3dda0e1b8f6619317c26f61969032203645 (patch)
tree8eca37ac2d1479599e874406415109f7bb9d0368
parent5ab3a9cab930c14aa071acd30e894c88507e5e12 (diff)
downloadaports-9f5de3dda0e1b8f6619317c26f61969032203645.tar.bz2
aports-9f5de3dda0e1b8f6619317c26f61969032203645.tar.xz
testing/prodody: fix lua dependencies
fixes #4618
-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