# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-office/kmm_banking/kmm_banking-0.9.9.ebuild,v 1.2 2009/01/17 14:58:34 tgurr Exp $ EAPI="2" ARTS_REQUIRED="never" inherit kde DESCRIPTION="KMyMoney2 HBCI plugin utilizing AqBanking." HOMEPAGE="http://www.aquamaniac.de/sites/download/packages.php?package=05&showall=1" SRC_URI="http://www.aquamaniac.de/sites/download/download.php?package=05&release=07&file=01&dummy=${P}beta.tar.gz -> ${P}beta.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND=">=app-office/kmymoney2-0.9.2 >=net-libs/aqbanking-3.8.1[hbci,kde,qt3] >=sys-libs/gwenhywfar-3.5.2" RDEPEND="${DEPEND}" S="${WORKDIR}/${P}beta" need-kde 3.5 src_prepare() { cd "${S}" sed -i -e 's/kde_libraries/libdir/g' \ "${S}"/src/Makefile.am || die "sed failed" rm "${S}"/configure # eapi2 eclass workaround start if [[ -f admin/cvs.sh ]]; then sed -i -e '/case $AUTO\(CONF\|HEADER\)_VERSION in/,+1 s/2\.5/2.[56]/g' \ admin/cvs.sh fi # Replace the detection script with a dummy, let our wrappers do the work if [[ -f admin/detect-autoconf.sh ]]; then cat - > admin/detect-autoconf.sh <