diff options
Diffstat (limited to 'app-office/homebank/homebank-4.4.ebuild')
-rw-r--r-- | app-office/homebank/homebank-4.4.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-office/homebank/homebank-4.4.ebuild b/app-office/homebank/homebank-4.4.ebuild new file mode 100644 index 0000000..3f77e8f --- /dev/null +++ b/app-office/homebank/homebank-4.4.ebuild @@ -0,0 +1,46 @@ +EAPI="2" + +inherit fdo-mime + +DESCRIPTION="Free, easy, personal accounting for everyone" +HOMEPAGE="http://homebank.free.fr/index.php" +SRC_URI="http://homebank.free.fr/public/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +IUSE="ofx" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=">=x11-libs/gtk+-2.14 + >=dev-libs/glib-2.17 + sys-libs/zlib + ofx? ( >=dev-libs/libofx-0.7 )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + >=dev-util/intltool-0.40.5" +RDEPEND="${RDEPEND} + gnome-base/librsvg" + +S="${WORKDIR}/${P/_/}" + +src_prepare() { + sed -i -e 's/true/TRUE/' src/import.c || die "sed failed" +} + +src_configure() { + econf $(use_with ofx) +} + +src_install() { + emake DESTDIR="${D}" install || die "Installation failed" + dodoc AUTHORS ChangeLog README +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} |