summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-02-06 19:42:31 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-02-06 19:42:31 +0000
commitaf7c47d937f16426113abe368283300b01bf2763 (patch)
tree917306a0a617ff23e371e06f768d0547dac34d03 /net-libs
parentFix for parallel and as-needed build issues (diff)
downloadgentoo-2-af7c47d937f16426113abe368283300b01bf2763.tar.gz
gentoo-2-af7c47d937f16426113abe368283300b01bf2763.tar.bz2
gentoo-2-af7c47d937f16426113abe368283300b01bf2763.zip
Version bump.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/aqbanking/ChangeLog8
-rw-r--r--net-libs/aqbanking/aqbanking-4.2.4.ebuild80
-rw-r--r--net-libs/aqbanking/files/aqbanking-4.2.4-gcc_detection.patch13
3 files changed, 100 insertions, 1 deletions
diff --git a/net-libs/aqbanking/ChangeLog b/net-libs/aqbanking/ChangeLog
index b606380a160b..e28b27e9b53d 100644
--- a/net-libs/aqbanking/ChangeLog
+++ b/net-libs/aqbanking/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/aqbanking
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/aqbanking/ChangeLog,v 1.82 2010/01/17 19:11:34 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/aqbanking/ChangeLog,v 1.83 2010/02/06 19:42:30 ssuominen Exp $
+
+*aqbanking-4.2.4 (06 Feb 2010)
+
+ 06 Feb 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +aqbanking-4.2.4.ebuild, +files/aqbanking-4.2.4-gcc_detection.patch:
+ Version bump.
17 Jan 2010; Raúl Porcel <armin76@gentoo.org> aqbanking-4.2.0.ebuild:
sparc stable wrt #299125
diff --git a/net-libs/aqbanking/aqbanking-4.2.4.ebuild b/net-libs/aqbanking/aqbanking-4.2.4.ebuild
new file mode 100644
index 000000000000..924715625295
--- /dev/null
+++ b/net-libs/aqbanking/aqbanking-4.2.4.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/aqbanking/aqbanking-4.2.4.ebuild,v 1.1 2010/02/06 19:42:30 ssuominen Exp $
+
+EAPI=2
+inherit autotools eutils
+
+DESCRIPTION="Generic Online Banking Interface"
+HOMEPAGE="http://www.aquamaniac.de/aqbanking/"
+SRC_URI="http://www.aquamaniac.de/sites/download/download.php?package=03&release=50&file=01&dummy=${P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="chipcard debug ofx qt4"
+
+RDEPEND=">=sys-libs/gwenhywfar-3.11.3
+ >=app-misc/ktoblzcheck-1.24
+ ofx? ( >=dev-libs/libofx-0.9.1 )
+ chipcard? ( >=sys-libs/libchipcard-4.2.9 )
+ qt4? ( x11-libs/qt-gui:4[qt3support] )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+# no-go
+MAKEOPTS="${MAKEOPTS} -j1"
+RESTRICT="test"
+
+src_prepare() {
+ sed -i \
+ -e 's/$(ADD_ACLOCAL_FLAGS)//' \
+ Makefile.am || die
+
+ epatch "${FILESDIR}"/${P}-gcc_detection.patch
+ eautoreconf
+}
+
+src_configure() {
+ local frontends=""
+ use qt4 && frontends="${frontends} qbanking q4banking"
+
+ local backends="aqhbci aqnone"
+ use ofx && backends="${backends} aqofxconnect"
+
+ local myconf qt3_libs qt3_includes
+ if use qt4; then
+ qt3_libs="$(pkg-config QtCore QtGui Qt3Support --libs)"
+ qt3_includes="$(pkg-config QtCore QtGui Qt3Support --cflags-only-I)"
+ myconf="--enable-qt3=yes --enable-qt4=yes --with-qt4-moc=/usr/bin/moc --with-qt4-uic=/usr/bin/uic"
+ else
+ myconf="--enable-qt3=no --enable-qt4=no"
+ fi
+
+ econf \
+ QTDIR="/usr/$(get_libdir)/qt4" \
+ QT3TO4="/usr/bin/qt3to4" \
+ qt3_libs="${qt3_libs}" \
+ qt3_includes="${qt3_includes}" \
+ --disable-dependency-tracking \
+ $(use_enable debug) \
+ --with-frontends="${frontends}" \
+ --with-backends="${backends}" \
+ --with-docpath=/usr/share/doc/${PF}/apidoc \
+ ${myconf}
+}
+
+src_compile() {
+ if use qt4; then
+ emake qt4-port || die
+ fi
+
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ rm -rf "${D}"/usr/share/doc/${PN}
+ find "${D}" -name '*.la' -delete
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
diff --git a/net-libs/aqbanking/files/aqbanking-4.2.4-gcc_detection.patch b/net-libs/aqbanking/files/aqbanking-4.2.4-gcc_detection.patch
new file mode 100644
index 000000000000..98d926d88887
--- /dev/null
+++ b/net-libs/aqbanking/files/aqbanking-4.2.4-gcc_detection.patch
@@ -0,0 +1,13 @@
+Fix GCC detection since it can be e.g. x86_64-pc-linux-gnu-gcc
+
+--- configure.ac
++++ configure.ac
+@@ -1102,7 +1102,7 @@
+ AC_MSG_CHECKING(if symbol visibility is supported)
+ visibility_cflags=""
+ case `basename $CC` in
+- gcc*)
++ *gcc*)
+ dnl Determine version number (watch out: the outside square
+ dnl parenteses are vitally important here!)
+ gccversion=["` ${CC} --version | head -1 | ${SED} 's/.*\([0-9]\.[0-9]\.[0-9]*\).*/\1/' `"]