summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2003-03-31 17:21:50 +0000
committerMarinus Schraal <foser@gentoo.org>2003-03-31 17:21:50 +0000
commit95fd0327000bf178b2894e13c5598e557ecc321e (patch)
tree3350219d14e148aab64ced2b469bc27922914516 /dev-libs/libole2
parentVersion bumped. (diff)
downloadhistorical-95fd0327000bf178b2894e13c5598e557ecc321e.tar.gz
historical-95fd0327000bf178b2894e13c5598e557ecc321e.tar.bz2
historical-95fd0327000bf178b2894e13c5598e557ecc321e.zip
header fixing rev
Diffstat (limited to 'dev-libs/libole2')
-rw-r--r--dev-libs/libole2/ChangeLog7
-rw-r--r--dev-libs/libole2/files/digest-libole2-0.2.4-r11
-rw-r--r--dev-libs/libole2/libole2-0.2.4-r1.ebuild47
3 files changed, 54 insertions, 1 deletions
diff --git a/dev-libs/libole2/ChangeLog b/dev-libs/libole2/ChangeLog
index 6908bd5ca7a0..68eb35705a11 100644
--- a/dev-libs/libole2/ChangeLog
+++ b/dev-libs/libole2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libole2
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libole2/ChangeLog,v 1.9 2003/03/06 15:30:39 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libole2/ChangeLog,v 1.10 2003/03/31 17:21:50 foser Exp $
+
+*libole2-0.2.4-r1 (31 Mar 2003)
+
+ 31 Mar 2003; foser <foser@gentoo.org> libole2-0.2.4-r1.ebuild :
+ fixed glib include in ms-ole.h for abiword2 compilation to work
07 Feb 2003; Aron Griffis <agriffis@gentoo.org> libole2-0.2.4.ebuild :
Add alpha to KEYWORDS
diff --git a/dev-libs/libole2/files/digest-libole2-0.2.4-r1 b/dev-libs/libole2/files/digest-libole2-0.2.4-r1
new file mode 100644
index 000000000000..9c733b1d8458
--- /dev/null
+++ b/dev-libs/libole2/files/digest-libole2-0.2.4-r1
@@ -0,0 +1 @@
+MD5 1370a4cea876e8579c1052992ae75f79 libole2-0.2.4.tar.bz2 199044
diff --git a/dev-libs/libole2/libole2-0.2.4-r1.ebuild b/dev-libs/libole2/libole2-0.2.4-r1.ebuild
new file mode 100644
index 000000000000..a00e6e20ac59
--- /dev/null
+++ b/dev-libs/libole2/libole2-0.2.4-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libole2/libole2-0.2.4-r1.ebuild,v 1.1 2003/03/31 17:21:50 foser Exp $
+
+inherit gnome.org
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Library to manipulate OLE2 Structured Storage files"
+HOMEPAGE="http://www.gnome.org/"
+
+IUSE=""
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~sparc ~ppc ~alpha"
+
+DEPEND="=dev-libs/glib-1.2*
+ dev-util/gtk-doc"
+
+src_unpack() {
+ unpack ${A}
+
+ # fix header include, needed for abiword
+ cd ${S}/libole2
+ mv ms-ole.h ms-ole.h.old
+ sed -e "s:glib.h:glib-1.2/glib.h:" ms-ole.h.old > ms-ole.h
+}
+
+src_compile() {
+ econf || die
+ emake || die
+}
+
+src_install() {
+ # prevent executing gtkdoc-fixxref - sandbox violations
+ cd ${S}/doc
+ mv Makefile Makefile.orig
+ sed 's/gtkdoc-fixxref.*/\\/' Makefile.orig > Makefile
+
+ cd ${S}
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS COPYING ChangeLog NEWS README* TODO
+}
+
+pkg_postinst() {
+ einfo "Fixing libole2's documentation cross references"
+ gtkdoc-fixxref --module=libole2 --html-dir=/usr/share/libole2/html
+}