diff options
Diffstat (limited to 'net-libs/aqbanking/aqbanking-5.0.1.ebuild')
-rw-r--r-- | net-libs/aqbanking/aqbanking-5.0.1.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/net-libs/aqbanking/aqbanking-5.0.1.ebuild b/net-libs/aqbanking/aqbanking-5.0.1.ebuild new file mode 100644 index 000000000000..f50d3ff38b79 --- /dev/null +++ b/net-libs/aqbanking/aqbanking-5.0.1.ebuild @@ -0,0 +1,64 @@ +# 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-5.0.1.ebuild,v 1.1 2010/11/03 14:09:53 ssuominen Exp $ + +EAPI=2 + +DESCRIPTION="Generic Online Banking Interface" +HOMEPAGE="http://www.aquamaniac.de/aqbanking/" +SRC_URI="http://www.aquamaniac.de/sites/download/download.php?package=03&release=74&file=01&dummy=${P}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="chipcard debug doc examples gtk ofx" + +RDEPEND=">=app-misc/ktoblzcheck-1.28 + dev-libs/gmp + >=sys-libs/gwenhywfar-4.0.1[gtk?] + virtual/libintl + ofx? ( >=dev-libs/libofx-0.9.1 ) + chipcard? ( >=sys-libs/libchipcard-5.0.0 )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + sys-devel/gettext + doc? ( app-doc/doxygen )" + +MAKEOPTS="${MAKEOPTS} -j1" # Last known version to fail is 5.0.1 + +src_configure() { + local backends="aqhbci aqnone aqpaypal" + use ofx && backends="${backends} aqofxconnect" + + local myconf + use gtk && myconf="--enable-gui-tests" + + econf \ + --disable-dependency-tracking \ + $(use_enable debug) \ + $(use_enable doc full-doc) \ + --with-backends="${backends}" \ + --with-docpath=/usr/share/doc/${PF}/apidoc \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install || die + + rm -rf "${D}"/usr/share/doc/{aqbanking,aqhbci,aqpaypal} + + dodoc AUTHORS ChangeLog NEWS README TODO + + newdoc src/plugins/backends/aqhbci/tools/aqhbci-tool/README \ + README.aqhbci-tool + newdoc src/plugins/backends/aqpaypal/tools/aqpaypal-tool/README \ + README.aqpaypal-tool + + + if use examples; then + docinto tutorials + dodoc tutorials/*.{c,h} tutorials/README + fi + + find "${D}" -name '*.la' -exec rm -f '{}' + +} |