2016-05-29 16:23:06 +02:00
|
|
|
# Template file for 'ejabberd'
|
|
|
|
pkgname=ejabberd
|
2017-11-26 18:57:37 +01:00
|
|
|
version=17.11
|
2016-05-29 16:23:06 +02:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-odbc --enable-mysql --enable-pgsql --enable-pam
|
|
|
|
--enable-redis --enable-elixir $(vopt_enable sqlite)"
|
|
|
|
conf_files="/etc/ejabberd/*"
|
|
|
|
hostmakedepends="automake erlang git"
|
|
|
|
makedepends="libressl-devel libyaml-devel expat-devel zlib-devel pam-devel
|
2017-11-23 21:13:36 +01:00
|
|
|
$(vopt_if sqlite sqlite-devel) gd-devel"
|
2016-05-29 16:23:06 +02:00
|
|
|
depends="erlang"
|
|
|
|
short_desc="Robust and massively scalable XMPP platform"
|
2017-11-26 18:57:37 +01:00
|
|
|
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
2016-05-29 16:23:06 +02:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="https://www.process-one.net/en/ejabberd/"
|
|
|
|
distfiles="https://github.com/processone/ejabberd/archive/${version}.tar.gz"
|
2017-11-26 18:57:37 +01:00
|
|
|
checksum=a016cc2b6ab8a8b4f783bfc23e8d2d0380c3754b647a3f3faa1e972ee5e44a47
|
2016-05-29 16:23:06 +02:00
|
|
|
|
|
|
|
build_options="sqlite"
|
2017-11-23 21:13:36 +01:00
|
|
|
build_options_default="sqlite"
|
2016-05-29 16:23:06 +02:00
|
|
|
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
makedepends+=" erlang"
|
|
|
|
configure_args="--with-erlang=${XBPS_CROSS_BASE}/usr/lib/erlang/usr/include"
|
|
|
|
broken="configure: error: cannot run test program while cross compiling"
|
|
|
|
fi
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|