From 83013c0b780e56f69115619e5638b76bd8aed53f Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Sun, 29 May 2016 10:23:06 -0400 Subject: [PATCH] New package: ejabberd-17.08 --- srcpkgs/ejabberd/template | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 srcpkgs/ejabberd/template diff --git a/srcpkgs/ejabberd/template b/srcpkgs/ejabberd/template new file mode 100644 index 00000000000..8b08939bc84 --- /dev/null +++ b/srcpkgs/ejabberd/template @@ -0,0 +1,30 @@ +# Template file for 'ejabberd' +pkgname=ejabberd +version=17.08 +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 + $(vopt_if sqlite sqlite-devel)" +depends="erlang" +short_desc="Robust and massively scalable XMPP platform" +maintainer="Toyam Cox " +license="GPL-2" +homepage="https://www.process-one.net/en/ejabberd/" +distfiles="https://github.com/processone/ejabberd/archive/${version}.tar.gz" +checksum=3032e4d415a8da038628e02bd763f37aca1a5ae73d1fa2e6fb5b4d2006a70357 + +build_options="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 +}