32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# Template file for 'ejabberd'
|
|
pkgname=ejabberd
|
|
version=20.07
|
|
revision=2
|
|
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 elixir"
|
|
makedepends="openssl-devel libyaml-devel expat-devel zlib-devel pam-devel
|
|
$(vopt_if sqlite sqlite-devel) gd-devel"
|
|
depends="erlang"
|
|
short_desc="Robust and massively scalable XMPP platform"
|
|
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.process-one.net/en/ejabberd/"
|
|
distfiles="https://github.com/processone/ejabberd/archive/${version}.tar.gz"
|
|
checksum=7fd1142906a5f7d0345dc3d1363f94c62cc7d62088f5b2f3bd70dff4dca3bb41
|
|
|
|
build_options="sqlite"
|
|
build_options_default="sqlite"
|
|
|
|
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
|
|
}
|