# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/gnucash-1.8.12.ebuild,v 1.2 2006/01/12 20:33:22 dang Exp $ inherit flag-o-matic libtool eutils # won't configure with this filter-flags -fomit-frame-pointer # gnucash uses GLIB_INLINE, this will break it filter-flags -fno-inline DOC_VER="1.8.5" IUSE="nls postgres ofx hbci quotes chipcard" DESCRIPTION="A personal finance manager" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz mirror://sourceforge/${PN}/${PN}-docs-${DOC_VER}.tar.gz" HOMEPAGE="http://www.gnucash.org/" SLOT="0" LICENSE="GPL-2" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" RDEPEND=">=gnome-base/gnome-libs-1.4.1.2-r1 >=dev-util/guile-1.6 amd64? ( >=dev-util/guile-1.6.4-r2 ) >=dev-libs/slib-2.3.8 >=media-libs/libpng-1.0.9 >=media-libs/jpeg-6b >=sys-libs/zlib-1.1.4 >=gnome-base/gnome-print-0.21 media-libs/gdk-pixbuf =gnome-extra/gtkhtml-1* =dev-libs/libxml-1.8.3 >=dev-libs/g-wrap-1.3.4 >=gnome-extra/guppi-0.35.5-r2 >=dev-libs/popt-1.5 >=app-text/scrollkeeper-0.3.1 app-text/docbook-xsl-stylesheets =app-text/docbook-xml-dtd-4.1.2* =sys-libs/db-1* ofx? ( >=dev-libs/libofx-0.7.0 ) hbci? ( net-libs/aqbanking chipcard? ( sys-libs/libchipcard ) ) quotes? ( dev-perl/DateManip dev-perl/Finance-Quote dev-perl/HTML-TableExtract ) postgres? ( dev-db/postgresql )" DEPEND="${RDEPEND} >=dev-lang/perl-5 >=dev-libs/slib-2.3.8 >=dev-lang/swig-1.3_alpha4 >> Updating Scrollkeeper" scrollkeeper-update -q -p ${ROOT}/var/lib/scrollkeeper fi if use postgres; then echo ewarn "The postgreSQL backend is badly out of date, and will" ewarn "probably go away in future releases of gnucash, in favour" ewarn "of sqlite (at least initially). Please see bug #109920" echo fi if ! use quotes; then ewarn einfo "If you wish to enable Online Stock Quotes Retrieval," einfo "Please re-emerge gnucash with USE=\"quotes\"" ewarn fi } pkg_postrm() { if [ -x ${ROOT}/usr/bin/scrollkeeper-update ]; then echo ">>> Updating Scrollkeeper" scrollkeeper-update -q -p ${ROOT}/var/lib/scrollkeeper fi }