summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2012-06-30 20:01:54 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2012-06-30 20:01:54 +0000
commit309e406ea98754dfe00ad82904a0c1293b9cdb9b (patch)
tree4672d4d50a568a419c8552b05543d9f9d33e6f6b /dev-libs/libofx
parentcleanup; eapi=4; vdr-plugin-2.eclass (diff)
downloadgentoo-2-309e406ea98754dfe00ad82904a0c1293b9cdb9b.tar.gz
gentoo-2-309e406ea98754dfe00ad82904a0c1293b9cdb9b.tar.bz2
gentoo-2-309e406ea98754dfe00ad82904a0c1293b9cdb9b.zip
Version bump
(Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libofx')
-rw-r--r--dev-libs/libofx/ChangeLog8
-rw-r--r--dev-libs/libofx/files/libofx-0.9.5-gcc47.patch11
-rw-r--r--dev-libs/libofx/libofx-0.9.5.ebuild47
3 files changed, 65 insertions, 1 deletions
diff --git a/dev-libs/libofx/ChangeLog b/dev-libs/libofx/ChangeLog
index 622331057a20..a76b10045190 100644
--- a/dev-libs/libofx/ChangeLog
+++ b/dev-libs/libofx/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libofx
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libofx/ChangeLog,v 1.71 2012/06/24 20:13:26 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libofx/ChangeLog,v 1.72 2012/06/30 20:01:52 dilfridge Exp $
+
+*libofx-0.9.5 (30 Jun 2012)
+
+ 30 Jun 2012; Andreas K. Huettel <dilfridge@gentoo.org> +libofx-0.9.5.ebuild,
+ +files/libofx-0.9.5-gcc47.patch:
+ Version bump
24 Jun 2012; Andreas K. Huettel <dilfridge@gentoo.org> libofx-0.9.4.ebuild,
+files/libofx-0.9.4-gcc47.patch:
diff --git a/dev-libs/libofx/files/libofx-0.9.5-gcc47.patch b/dev-libs/libofx/files/libofx-0.9.5-gcc47.patch
new file mode 100644
index 000000000000..2e6ee8b08d65
--- /dev/null
+++ b/dev-libs/libofx/files/libofx-0.9.5-gcc47.patch
@@ -0,0 +1,11 @@
+diff -ruN libofx-0.9.5.orig/ofxconnect/ofxpartner.cpp libofx-0.9.5/ofxconnect/ofxpartner.cpp
+--- libofx-0.9.5.orig/ofxconnect/ofxpartner.cpp 2011-03-31 00:30:50.000000000 +0200
++++ libofx-0.9.5/ofxconnect/ofxpartner.cpp 2012-06-30 21:57:35.747989782 +0200
+@@ -37,6 +37,7 @@
+ #include <vector>
+ #include <algorithm>
+ #include <string.h>
++#include <unistd.h>
+
+ using std::string;
+ using std::vector;
diff --git a/dev-libs/libofx/libofx-0.9.5.ebuild b/dev-libs/libofx/libofx-0.9.5.ebuild
new file mode 100644
index 000000000000..48f530e04865
--- /dev/null
+++ b/dev-libs/libofx/libofx-0.9.5.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libofx/libofx-0.9.5.ebuild,v 1.1 2012/06/30 20:01:52 dilfridge Exp $
+
+EAPI=4
+
+inherit base
+
+DESCRIPTION="A library to support the Open Financial eXchange XML format"
+HOMEPAGE="http://libofx.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc static-libs test"
+
+RDEPEND=">=app-text/opensp-1.5
+ dev-cpp/libxmlpp:2.6
+ >=net-misc/curl-7.9.7"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( sys-apps/help2man )
+ test? ( app-crypt/gnupg )"
+
+PATCHES=( "${FILESDIR}/${P}-gcc47.patch" )
+
+src_prepare() {
+ base_src_prepare
+ # Be sure DTD gets installed in correct path after redefining docdir in install
+ sed -i \
+ -e 's:$(DESTDIR)$(docdir):$(DESTDIR)$(LIBOFX_DTD_DIR):' \
+ dtd/Makefile.in || die
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ --disable-doxygen
+}
+
+src_install() {
+ emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} install
+
+ rm -f "${ED}"/usr/share/doc/${PF}/{COPYING,INSTALL}
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}