# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-office/qbankmanager/qbankmanager-0.9.33.ebuild,v 1.1 2006/01/17 21:54:11 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.9.1_beta =x11-libs/qt-3*" S=${WORKDIR}/${P} 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} cd ${S} epatch ${FILESDIR}/${P}-gcc41.patch # Fix to find correct uic on qt3/4 parallel installations sed -i -e 's:uic3:uic:g' configure } src_compile() { econf PATH="/usr/qt/3/bin:${PATH}" \ `use_enable debug` || die emake -j1 || die } src_install() { einstall || die dodoc AUTHORS README TODO README COPYING NEWS }