diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-im/climm/climm-0.7.1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-im/climm/climm-0.7.1.ebuild')
-rw-r--r-- | net-im/climm/climm-0.7.1.ebuild | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/net-im/climm/climm-0.7.1.ebuild b/net-im/climm/climm-0.7.1.ebuild new file mode 100644 index 000000000000..7d80236c0153 --- /dev/null +++ b/net-im/climm/climm-0.7.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +DESCRIPTION="ICQ text-mode client with many features" +HOMEPAGE="http://www.climm.org/" +SRC_URI="http://www.climm.org/source/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="xmpp gnutls otr tcl ssl" + +# In case user don't need xmpp there is a choice gnutls/openssl. Since xmpp +# requires gnutls then without explicit request to use gnutls (USE=gnutls) +# for ssl we fall back on gnutls instead of openssl. +REQUIRED_USE="xmpp? ( ssl gnutls )" + +RDEPEND=" + xmpp? ( + || ( + >=dev-libs/iksemel-1.4[ssl] + >=dev-libs/iksemel-1.3[gnutls] + ) + ) + ssl? ( + gnutls? ( + >=net-libs/gnutls-0.8.10 + dev-libs/libgcrypt:0 + ) + !gnutls? ( dev-libs/openssl ) + ) + tcl? ( dev-lang/tcl:0 ) + otr? ( <net-libs/libotr-4 )" +DEPEND="${RDEPEND} + ssl? ( gnutls? ( virtual/pkgconfig ) )" + +src_configure() { + local myconf + if use ssl; then + if use gnutls; then + einfo "Using gnutls" + myconf="--enable-ssl=gnutls" + else + einfo "Using openSSL" + myconf="--enable-ssl=openssl" + fi + else + myconf="--disable-ssl" + fi + + econf \ + $(use_enable xmpp) \ + $(use_enable otr) \ + $(use_enable tcl) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog FAQ NEWS README TODO +} |