diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-13 17:49:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-13 17:49:31 +0100 |
commit | 36ac65103bf5503e5bad1ecc7e8cb9e7643f6840 (patch) | |
tree | d9d1fbc20509d4c90f57fb2d9e1459bc8034c831 /dev-libs/libofx/libofx-0.9.14.ebuild | |
parent | a1392efe64137262023d92492396ca9156d22396 (diff) |
Revert "gentoo resync : 13.09.2019"
This reverts commit a1392efe64137262023d92492396ca9156d22396.
Diffstat (limited to 'dev-libs/libofx/libofx-0.9.14.ebuild')
-rw-r--r-- | dev-libs/libofx/libofx-0.9.14.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/dev-libs/libofx/libofx-0.9.14.ebuild b/dev-libs/libofx/libofx-0.9.14.ebuild new file mode 100644 index 000000000000..7896e2e8c5e8 --- /dev/null +++ b/dev-libs/libofx/libofx-0.9.14.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic + +DESCRIPTION="A 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/7" +KEYWORDS="amd64 x86" +IUSE="static-libs test" + +RDEPEND=" + >=net-misc/curl-7.9.7 + virtual/libiconv +" +DEPEND="${RDEPEND} + >app-text/opensp-1.5 + >=dev-cpp/libxmlpp-2.40.1:2.6 + dev-util/gengetopt + sys-apps/help2man + virtual/pkgconfig + test? ( app-crypt/gnupg )" + +# workaround needed for ofxconnect to compile +MAKEOPTS="-j1" + +src_prepare() { + default + eautoreconf + + # we will tell you where we wants the docs! + sed -i -e 's:docdir.*::' Makefile.am || die + sed -i -e 's:docdir.*::' dtd/Makefile.am || die + + # configure arguments alone don't disable everything + sed -e "/^SUBDIRS/s/doc//" -i Makefile.am || die + + append-cxxflags -std=c++14 + + # build will fail without this. shenanigans... + touch INSTALL || die "failed to touch INSTALL" +} + +src_configure() { + econf --docdir=/usr/share/doc/${PF} +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} |