summaryrefslogtreecommitdiffstats
path: root/packages/dev-erlang/exmpp/exmpp.exlib
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dev-erlang/exmpp/exmpp.exlib')
-rw-r--r--packages/dev-erlang/exmpp/exmpp.exlib44
1 files changed, 44 insertions, 0 deletions
diff --git a/packages/dev-erlang/exmpp/exmpp.exlib b/packages/dev-erlang/exmpp/exmpp.exlib
new file mode 100644
index 0000000..0de53c1
--- /dev/null
+++ b/packages/dev-erlang/exmpp/exmpp.exlib
@@ -0,0 +1,44 @@
+# Copyright 2011 Quentin "Sardem FF7" Glidic <sardemff7+exherbo@sardemff7.net>
+# Distributed under the terms of the GNU General Public License v2
+
+if ever is_scm; then
+ SCM_REPOSITORY="git://git.process-one.net/${PN}/mainline.git"
+ require scm-git
+
+require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.11 ] ] systemd-service
+
+if ever is_scm; then
+ DOWNLOADS=""
+else
+ DOWNLOADS="http://download.process-one.net/${PN}/${PNV}.tar.gz"
+fi
+
+SLOT="0"
+
+HOMEPAGE="https://support.process-one.net/doc/display/EXMPP/exmpp+home"
+
+LICENCES="EPL-1.1"
+
+SUMMARY="A fast and scalable library for the Extensible Messaging and Presence Protocol (XMPP) written in Erlang/OTP."
+
+DEPENDENCIES="
+ build+run:
+ dev-lang/erlang
+ dev-libs/expat
+"
+
+MYOPTIONS=""
+
+DEFAULT_SRC_CONFIGURE_PARAMS=(
+ --hates=prefix
+ --with-erlang=/usr/${LIBDIR}/erlang
+)
+
+AT_M4DIR=( m4 )
+
+src_prepare() {
+ edo sed -i \
+ -e '\|^COLORED_ECHO|d' \
+ configure.ac
+ autotools_src_prepare
+}