You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-office/grisbi/grisbi-0.8.2.ebuild

55 lines
1.4 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/grisbi/grisbi-0.8.2.ebuild,v 1.6 2012/05/03 20:00:40 jdhore Exp $
EAPI="3"
inherit eutils gnome2
IUSE="nls ofx ssl"
DESCRIPTION="Grisbi is a personal accounting application for Linux"
HOMEPAGE="http://www.grisbi.org"
SRC_URI="mirror://sourceforge/grisbi/grisbi%20stable/0.8.x/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
RDEPEND="dev-libs/libxml2
>=dev-libs/glib-2.18.0
>=x11-libs/gtk+-2.12.0:2
ssl? ( >=dev-libs/openssl-0.9.5 )
ofx? ( >=dev-libs/libofx-0.7.0 )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
pkg_setup() {
G2CONF="
--with-plugins
--with-libxml2
$(use_with ssl openssl)
$(use_with ofx)
$(use_enable nls)"
DOCS="AUTHORS NEWS README"
}
src_prepare() {
gnome2_src_prepare
epatch \
"${FILESDIR}/0.8.2-0001-fixes-bug-1289.patch" \
"${FILESDIR}/0.8.2-0002-fixes-a-crash-when-importing-a-file-without-extensio.patch" \
"${FILESDIR}/0.8.2-0003-fixes-bug-1293-Problem-of-updating-of-the-pointing-b.patch" \
"${FILESDIR}/0.8.2-0004-fix-memory-leaks-thanks-Philippe-D.patch" \
"${FILESDIR}/0.8.2-0005-fixes-bug-of-compilation.patch"
}
pkg_postinst() {
gnome2_pkg_postinst
elog "The first thing you should do is set up the browser command in"
elog "preferences after you start up grisbi. Otherwise you will not"
elog "be able to see the help and manuals."
}