blob: 7ae0576e50a48142bb536167af7e9f21c532ceff (
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
66
67
68
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/kmymoney2/kmymoney2-0.9.2.ebuild,v 1.2 2008/12/15 20:48:39 tgurr Exp $
EAPI="1"
inherit kde
DESCRIPTION="Personal Finances Manager for KDE."
HOMEPAGE="http://kmymoney2.sourceforge.net"
SRC_URI="mirror://sourceforge/kmymoney2/${P}-1.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="crypt ofx qtdesigner test"
COMMON_DEPEND="dev-libs/libxml2
ofx? ( >=dev-libs/libofx-0.8.2
|| ( dev-cpp/libxmlpp:2.6 >=dev-cpp/libxmlpp-1.0.1:0 )
>=net-misc/curl-7.9.7
app-text/opensp )"
DEPEND="${COMMON_DEPEND}
>=dev-util/pkgconfig-0.9.0
test? ( >=dev-util/cppunit-1.8.0 )"
RDEPEND="${COMMON_DEPEND}
crypt? ( app-crypt/gnupg )"
need-kde 3.5
src_unpack() {
kde_src_unpack
cd "${S}"/kmymoney2/widgets
for x in Makefile.am Makefile.in; do
sed -e "s/kmymoneytitlelabel.png//" -i ${x}
done
}
src_compile() {
local myconf="$(use_enable ofx ofxplugin)
$(use_enable ofx ofxbanking)
$(use_enable qtdesigner)
$(use_enable test cppunit)"
# bug 132665
replace-flags "-Os" "-O2"
kde_src_compile
}
src_test() {
# Parallel make check is broken
make -j1 check || die "Make check failed!"
}
src_install() {
kde_src_install
# bug 139082
rm "${D}"/usr/bin/kmymoney
}
pkg_postinst() {
echo
elog "If you want HBCI support in ${P}, please install app-office/kmm_banking separately."
echo
}
|