summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD.M.D. Ljungmark <spider@gentoo.org>2003-12-01 05:36:53 +0000
committerD.M.D. Ljungmark <spider@gentoo.org>2003-12-01 05:36:53 +0000
commitbb80b1fcca48adf5af2c3a5c1070f343c32d63be (patch)
treeb4321cf3c3cc991530d2ab1fc078b9f14ce6b035 /app-office/gnucash/gnucash-1.8.8.ebuild
parentVersionbump, seems to work ok (diff)
downloadgentoo-2-bb80b1fcca48adf5af2c3a5c1070f343c32d63be.tar.gz
gentoo-2-bb80b1fcca48adf5af2c3a5c1070f343c32d63be.tar.bz2
gentoo-2-bb80b1fcca48adf5af2c3a5c1070f343c32d63be.zip
Versionbump, seems to work ok
Diffstat (limited to 'app-office/gnucash/gnucash-1.8.8.ebuild')
-rw-r--r--app-office/gnucash/gnucash-1.8.8.ebuild103
1 files changed, 103 insertions, 0 deletions
diff --git a/app-office/gnucash/gnucash-1.8.8.ebuild b/app-office/gnucash/gnucash-1.8.8.ebuild
new file mode 100644
index 000000000000..d5a9fc240446
--- /dev/null
+++ b/app-office/gnucash/gnucash-1.8.8.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/gnucash-1.8.8.ebuild,v 1.1 2003/12/01 05:36:46 spider Exp $
+
+inherit flag-o-matic libtool
+
+# 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.3"
+IUSE="nls postgres ofx hbci"
+
+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/"
+
+KEYWORDS="~x86 ~alpha ~ppc"
+SLOT="0"
+LICENSE="GPL-2"
+
+RDEPEND=">=gnome-base/gnome-libs-1.4.1.2-r1
+ >=dev-util/guile-1.6
+ >=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-0.14.0
+ <gnome-extra/gal-1.99
+ >=dev-libs/libxml-1.8.3
+ >=dev-libs/g-wrap-1.3.3
+ >=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*
+ hbci? ( >=net-libs/openhbci-0.9.13 )
+ ofx? ( >=dev-libs/libofx-0.6.4 )
+ postgres? ( dev-db/postgresql )"
+
+DEPEND="${RDEPEND}
+ >=dev-lang/perl-5
+ >=dev-libs/slib-2.3.8
+ >=dev-lang/swig-1.3_alpha4
+ <gnome-base/libglade-2
+ gnome-base/libghttp
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_compile() {
+ elibtoolize
+ local myconf=""
+
+ # allow warnings to go unheeded
+ myconf="--enable-compile-warnings=no --disable-error-on-warning"
+
+ use postgres && myconf="${myconf} --enable-sql"
+
+ econf \
+ `use_enable nls` \
+ `use_enable ofx` \
+ `use_enable hbci` \
+ ${myconf} || die "configure failed"
+
+ emake || die "make failed"
+
+ cd ${WORKDIR}/${PN}-docs-${DOC_VER}
+ econf --localstatedir=/var/lib || die "doc configure failed"
+ emake || die "doc make failed"
+}
+
+src_install() {
+ einstall pkgdatadir=${D}/usr/share/gnucash || die "install failed"
+ dodoc ABOUT-NLS AUTHORS COPYING ChangeLog HACKING NEWS README* TODO
+ dodoc docs/README*
+
+ cd ${WORKDIR}/${PN}-docs-${DOC_VER}
+ make DESTDIR=${D} \
+ scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper \
+ install || die "doc install failed"
+ rm -rf ${D}/var/lib/scrollkeeper
+}
+
+pkg_postinst() {
+ if [ -x ${ROOT}/usr/bin/scrollkeeper-update ]; then
+ echo ">>> Updating Scrollkeeper"
+ scrollkeeper-update -q -p ${ROOT}/var/lib/scrollkeeper
+ fi
+}
+
+pkg_postrm() {
+ if [ -x ${ROOT}/usr/bin/scrollkeeper-update ]; then
+ echo ">>> Updating Scrollkeeper"
+ scrollkeeper-update -q -p ${ROOT}/var/lib/scrollkeeper
+ fi
+}