blob: 1acb92d8616efe7c301b58b1515cd8f791e217a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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
}
|