summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2008-03-23 11:31:52 +0000
committerTiziano Müller <dev-zero@gentoo.org>2008-03-23 11:31:52 +0000
commitf98d47e1dc4936386700a200f676806bf26f7420 (patch)
tree80ce7fa146c821ccc10fe10ac0f372b8d2578208
parentremove gnome.desktop which is now provided by gnome-session, fix bug #213118 (diff)
downloadgentoo-2-f98d47e1dc4936386700a200f676806bf26f7420.tar.gz
gentoo-2-f98d47e1dc4936386700a200f676806bf26f7420.tar.bz2
gentoo-2-f98d47e1dc4936386700a200f676806bf26f7420.zip
Version bump, dropped old version and old patch. Fixed dependencies.
(Portage version: 2.1.4.4)
-rw-r--r--dev-libs/libofx/ChangeLog9
-rw-r--r--dev-libs/libofx/files/libofx-0.6.4-gcc2.patch11
-rw-r--r--dev-libs/libofx/libofx-0.7.0-r1.ebuild32
-rw-r--r--dev-libs/libofx/libofx-0.9.0.ebuild45
4 files changed, 53 insertions, 44 deletions
diff --git a/dev-libs/libofx/ChangeLog b/dev-libs/libofx/ChangeLog
index e33907b44ed4..b0d5f1a12eb0 100644
--- a/dev-libs/libofx/ChangeLog
+++ b/dev-libs/libofx/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/libofx
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libofx/ChangeLog,v 1.39 2008/02/09 12:32:44 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libofx/ChangeLog,v 1.40 2008/03/23 11:31:51 dev-zero Exp $
+
+*libofx-0.9.0 (22 Mar 2008)
+
+ 22 Mar 2008; Tiziano Müller <dev-zero@gentoo.org>
+ -files/libofx-0.6.4-gcc2.patch, -libofx-0.7.0-r1.ebuild,
+ +libofx-0.9.0.ebuild:
+ Version bump, dropped old version and old patch. Fixed dependencies.
09 Feb 2008; Raúl Porcel <armin76@gentoo.org> libofx-0.8.3.ebuild:
alpha/ia64 stable
diff --git a/dev-libs/libofx/files/libofx-0.6.4-gcc2.patch b/dev-libs/libofx/files/libofx-0.6.4-gcc2.patch
deleted file mode 100644
index a15b853744c8..000000000000
--- a/dev-libs/libofx/files/libofx-0.6.4-gcc2.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -r -u libofx-0.6.4.orig/lib/ofx_utilities.cpp libofx-0.6.4/lib/ofx_utilities.cpp
---- libofx-0.6.4.orig/lib/ofx_utilities.cpp 2003-04-12 18:05:51.000000000 -0400
-+++ libofx-0.6.4/lib/ofx_utilities.cpp 2003-08-28 09:08:07.000000000 -0400
-@@ -15,6 +15,7 @@
- * (at your option) any later version. *
- * *
- ***************************************************************************/
-+#include <locale.h>
- #include <config.h>
- #include <iostream>
- #include "ParserEventGeneratorKit.h"
diff --git a/dev-libs/libofx/libofx-0.7.0-r1.ebuild b/dev-libs/libofx/libofx-0.7.0-r1.ebuild
deleted file mode 100644
index 8b172c6e41c0..000000000000
--- a/dev-libs/libofx/libofx-0.7.0-r1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libofx/libofx-0.7.0-r1.ebuild,v 1.3 2007/01/26 21:34:59 masterdriverz Exp $
-
-DESCRIPTION="Library to support the Open Financial eXchange XML Format"
-HOMEPAGE="http://libofx.sourceforge.net/"
-SRC_URI="mirror://sourceforge/libofx/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ppc sparc x86"
-IUSE=""
-
-RDEPEND=">=app-text/opensp-1.5
- >=net-misc/curl-7.9.7"
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
-
-src_unpack() {
- unpack ${A}
-
- # because we redefine docdir in src_install, we need to make sure the
- # dtd's go to the right place, LIBOFX_DTD_DIR
- cd ${S}/dtd
- sed -i -e 's/$(DESTDIR)$(docdir)/$(DESTDIR)$(LIBOFX_DTD_DIR)/g' \
- Makefile.in
-}
-
-src_install() {
- dodir /usr/share/doc/${PF}
- einstall docdir=${D}/usr/share/doc/${PF} || die
-}
diff --git a/dev-libs/libofx/libofx-0.9.0.ebuild b/dev-libs/libofx/libofx-0.9.0.ebuild
new file mode 100644
index 000000000000..c07f17ebaffb
--- /dev/null
+++ b/dev-libs/libofx/libofx-0.9.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libofx/libofx-0.9.0.ebuild,v 1.1 2008/03/23 11:31:51 dev-zero Exp $
+
+EAPI="1"
+
+DESCRIPTION="Library to support the Open Financial eXchange XML Format"
+HOMEPAGE="http://libofx.sourceforge.net/"
+SRC_URI="mirror://sourceforge/libofx/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="doc"
+
+DEPEND=">=app-text/opensp-1.5
+ >=net-misc/curl-7.9.7
+ dev-cpp/libxmlpp:0
+ dev-libs/libxml2"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+
+ # because we redefine docdir in src_install, we need to make sure the
+ # dtd's go to the right place, LIBOFX_DTD_DIR
+ sed -i \
+ -e 's/$(DESTDIR)$(docdir)/$(DESTDIR)$(LIBOFX_DTD_DIR)/g' \
+ "${S}/dtd/Makefile.in" || die "sed failed"
+
+ # We don't want those files
+ sed -i \
+ -e '/^ COPYING/d' -e '/^ INSTALL/d' \
+ "${S}/Makefile.in" || die "sed failed"
+
+ if ! use doc; then
+ sed -i \
+ -e 's|^\(SUBDIRS = .*\) doc|\1|' \
+ "${S}/Makefile.in" || die "sed failed"
+ fi
+}
+
+src_install() {
+ dodir /usr/share/doc/${PF}
+ emake install DESTDIR="${D}" docdir="/usr/share/doc/${PF}" || die 'install failed'
+}