From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-libs/yaz/yaz-3.0.53.ebuild | 56 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 dev-libs/yaz/yaz-3.0.53.ebuild (limited to 'dev-libs/yaz/yaz-3.0.53.ebuild') diff --git a/dev-libs/yaz/yaz-3.0.53.ebuild b/dev-libs/yaz/yaz-3.0.53.ebuild new file mode 100644 index 000000000000..66af93b48754 --- /dev/null +++ b/dev-libs/yaz/yaz-3.0.53.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils autotools + +DESCRIPTION="C/C++ toolkit for Z39.50v3 clients and servers" +HOMEPAGE="http://www.indexdata.dk/yaz" +SRC_URI="http://ftp.indexdata.dk/pub/${PN}/${P}.tar.gz" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86" +IUSE="debug icu libressl tcpd ziffy" + +RDEPEND="dev-libs/libxml2 + dev-libs/libxslt + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + icu? ( dev-libs/icu:= ) + tcpd? ( sys-apps/tcp-wrappers ) + ziffy? ( net-libs/libpcap )" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-lang/tcl:0 + >=sys-devel/libtool-2" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-3.0.47-icu-automagic.patch + AT_M4DIR="m4" eautoreconf +} + +src_configure() { + econf \ + --enable-static \ + --enable-shared \ + $(use_enable debug memdebug) \ + $(use_enable icu) \ + $(use_enable tcpd tcpd /usr) +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + local docdir="/usr/share/doc/${PF}" + emake DESTDIR="${D}" docdir="${docdir}" install || die "install failed" + + dodir ${docdir}/html + mv -f "${D}"/${docdir}/*.{html,png} "${D}"/${docdir}/html/ || die "Failed to move HTML docs" + mv -f "${D}"/usr/share/doc/${PN}/common "${D}"/${docdir}/html/ || die "Failed to move HTML docs" + rm -rf "${D}"/usr/share/doc/${PN} + + dodoc ChangeLog NEWS README +} -- cgit v1.2.3