diff options
author | Sam James <sam@gentoo.org> | 2021-04-25 06:13:30 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-25 06:18:39 +0000 |
commit | 6bc3d5aa7293ba9643c793f52c544fdeeaf47821 (patch) | |
tree | 66f8ab8a7e3a8c9e6bffe619285caf9ed2be56c9 /dev-libs/libofx/libofx-0.10.2.ebuild | |
parent | sys-fs/compsize: sync live ebuild for KEYWORDS (diff) | |
download | gentoo-6bc3d5aa7293ba9643c793f52c544fdeeaf47821.tar.gz gentoo-6bc3d5aa7293ba9643c793f52c544fdeeaf47821.tar.bz2 gentoo-6bc3d5aa7293ba9643c793f52c544fdeeaf47821.zip |
dev-libs/libofx: add 0.10.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libofx/libofx-0.10.2.ebuild')
-rw-r--r-- | dev-libs/libofx/libofx-0.10.2.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/dev-libs/libofx/libofx-0.10.2.ebuild b/dev-libs/libofx/libofx-0.10.2.ebuild new file mode 100644 index 000000000000..ae5c04394d48 --- /dev/null +++ b/dev-libs/libofx/libofx-0.10.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic + +DESCRIPTION="Library to support the Open Financial eXchange XML format" +HOMEPAGE="https://github.com/libofx/libofx" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/10" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~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_prepare() { + default + + # Not included in the tarball + sed -i -e '/INSTALL/d' Makefile.am || die + + # bug #566456 + append-cxxflags -std=c++14 + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable doc html-docs) \ + --disable-static +} + +src_compile() { + emake -j1 + + if use doc ; then + emake doc + fi +} + +src_install() { + default + + find "${ED}" -name '*.la' -type f -delete || die + find "${ED}" -name '*.a' -type f -delete || die +} |