From bf99f8024d68382f76665735c70ae912331bc2ca Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 4 Oct 2022 07:16:51 +0100 Subject: gentoo auto-resync : 04:10:2022 - 07:16:51 --- dev-libs/libofx/libofx-0.10.9.ebuild | 50 ++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 dev-libs/libofx/libofx-0.10.9.ebuild (limited to 'dev-libs/libofx/libofx-0.10.9.ebuild') diff --git a/dev-libs/libofx/libofx-0.10.9.ebuild b/dev-libs/libofx/libofx-0.10.9.ebuild new file mode 100644 index 000000000000..87cfdff2482d --- /dev/null +++ b/dev-libs/libofx/libofx-0.10.9.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic + +DESCRIPTION="Library to support the Open Financial eXchange XML format" +HOMEPAGE="https://github.com/libofx/libofx" +SRC_URI="https://github.com/libofx/libofx/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/10" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-util/gengetopt + sys-apps/help2man + virtual/pkgconfig + doc? ( app-doc/doxygen ) + test? ( app-crypt/gnupg ) +" +RDEPEND=" + >app-text/opensp-1.5 + app-text/openjade + >=dev-cpp/libxmlpp-2.40.1:2.6 + >=net-misc/curl-7.9.7 + virtual/libiconv +" +DEPEND="${RDEPEND}" + +src_configure() { + # bug #566456 + append-cxxflags -std=c++14 + + econf $(use_enable doc html-docs) +} + +src_compile() { + emake all $(usev doc) +} + +src_install() { + default + + find "${ED}" -name '*.la' -type f -delete || die + find "${ED}" -name '*.a' -type f -delete || die +} -- cgit v1.2.3