# 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.ebuild,v 1.16 2003/09/11 01:10:01 msterret 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_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 }