summaryrefslogtreecommitdiff
blob: 16562fb51b9042cd1ff5e349bbbf77159769fe04 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/qbankmanager/qbankmanager-0.9.29.ebuild,v 1.2 2005/09/28 12:10:46 hanno Exp $

inherit eutils qt3

DESCRIPTION="Onlinebanking frontend for aqbanking"
HOMEPAGE="http://www.aquamaniac.de/aqbanking/"
SRC_URI="mirror://sourceforge/aqbanking/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE="debug"

DEPEND=">=net-libs/aqbanking-1.6.0_beta
	=x11-libs/qt-3*"

pkg_setup() {
	if ! built_with_use net-libs/aqbanking qt; then
		einfo "qbankmanager needs the qt-bindings of aqbanking."
		einfo "TO enable them, rebuild aqbanking with qt in USE."
		die "aqbanking was built without qt support."
	fi
}

src_unpack() {
	unpack ${A}
	cp ${FILESDIR}/editcategoryreport.ui.gz ${S}/src/kbanking/libs/reports
	gunzip ${S}/src/kbanking/libs/reports/editcategoryreport.ui.gz
}

src_compile() {
	econf `use_enable debug` || die
	emake -j1 || die
}

src_install() {
	einstall || die
	dodoc AUTHORS README TODO README COPYING NEWS
}