commit:     ac0989c5f018b49836850e76fc1429c19929af38
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  4 11:03:45 2017 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Fri Aug  4 11:03:45 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac0989c5

dev-libs/iksemel: eapi bump to 6

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 .../iksemel/files/iksemel-1.3-gnutls-2.8.patch     |  4 +--
 dev-libs/iksemel/iksemel-1.4-r1.ebuild             | 37 ++++++++++++++++++++++
 2 files changed, 39 insertions(+), 2 deletions(-)

diff --git a/dev-libs/iksemel/files/iksemel-1.3-gnutls-2.8.patch 
b/dev-libs/iksemel/files/iksemel-1.3-gnutls-2.8.patch
index 8c0aa49bc43..48d19cf9ccf 100644
--- a/dev-libs/iksemel/files/iksemel-1.3-gnutls-2.8.patch
+++ b/dev-libs/iksemel/files/iksemel-1.3-gnutls-2.8.patch
@@ -1,5 +1,5 @@
---- configure.ac
-+++ configure.ac
+--- a/configure.ac
++++ b/configure.ac
 @@ -45,7 +45,12 @@
  AC_CHECK_FUNCS(getopt_long)
  AC_CHECK_FUNCS(getaddrinfo)

diff --git a/dev-libs/iksemel/iksemel-1.4-r1.ebuild 
b/dev-libs/iksemel/iksemel-1.4-r1.ebuild
new file mode 100644
index 00000000000..502052fabde
--- /dev/null
+++ b/dev-libs/iksemel/iksemel-1.4-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools eutils
+
+DESCRIPTION="eXtensible Markup Language parser library designed for Jabber 
applications"
+HOMEPAGE="https://github.com/meduketto/iksemel";
+SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz";
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="ssl"
+
+RDEPEND="ssl? ( net-libs/gnutls )"
+DEPEND="${RDEPEND}
+               ssl? ( virtual/pkgconfig )"
+
+PATCHES=( "${FILESDIR}/${PN}-1.3-gnutls-2.8.patch"
+         "${FILESDIR}/${PN}-1.4-gnutls-3.4.patch"
+         "${FILESDIR}/${PN}-1.4-ikstack.patch" )
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       econf $(use_with ssl gnutls)
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+       dodoc AUTHORS ChangeLog HACKING NEWS README TODO
+}

Reply via email to