You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/iksemel/iksemel-1.4-r1.ebuild

38 lines
836 B

# 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
}