summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2016-03-29 08:58:20 +0200
committerWolfram Schlich <wschlich@gentoo.org>2016-03-29 08:58:53 +0200
commit27908312b84fe2369faf4c6380738a6aa8d095d7 (patch)
treed71299dc3fa51386665f989f222f7d337df6dfce /net-libs/loudmouth/loudmouth-1.5.3.ebuild
parentsys-infiniband/librdmacm: cleanup vulnerable packages per 438444 (diff)
downloadgentoo-27908312b84fe2369faf4c6380738a6aa8d095d7.tar.gz
gentoo-27908312b84fe2369faf4c6380738a6aa8d095d7.tar.bz2
gentoo-27908312b84fe2369faf4c6380738a6aa8d095d7.zip
net-libs/loudmouth: version bump
Package-Manager: portage-2.2.28
Diffstat (limited to 'net-libs/loudmouth/loudmouth-1.5.3.ebuild')
-rw-r--r--net-libs/loudmouth/loudmouth-1.5.3.ebuild58
1 files changed, 58 insertions, 0 deletions
diff --git a/net-libs/loudmouth/loudmouth-1.5.3.ebuild b/net-libs/loudmouth/loudmouth-1.5.3.ebuild
new file mode 100644
index 000000000000..c413070f9f50
--- /dev/null
+++ b/net-libs/loudmouth/loudmouth-1.5.3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="Lightweight C Jabber library"
+HOMEPAGE="https://github.com/mcabber/loudmouth"
+SRC_URI="https://github.com/mcabber/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+#SRC_URI="https://mcabber.com/files/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
+
+IUSE="asyncns ssl openssl static-libs test"
+
+# Automagic libidn dependency
+RDEPEND="
+ >=dev-libs/glib-2.16:2
+ net-dns/libidn
+ ssl? (
+ !openssl? ( >=net-libs/gnutls-1.4.0 )
+ openssl? ( dev-libs/openssl:0 )
+ )
+ asyncns? ( >=net-libs/libasyncns-0.3 )
+"
+DEPEND="${RDEPEND}
+ test? ( dev-libs/check )
+ virtual/pkgconfig
+ >=dev-util/gtk-doc-1
+ >=dev-util/gtk-doc-am-1
+"
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ if use ssl; then
+ if ! use openssl; then
+ myconf="${myconf} --with-ssl=gnutls"
+ else
+ myconf="${myconf} --with-ssl=openssl"
+ fi
+ else
+ myconf="${myconf} --with-ssl=no"
+ fi
+
+ econf \
+ $(use_enable static-libs static) \
+ $(use_with asyncns) \
+ ${myconf}
+}