documentation fix
authorMarinus Schraal <foser@gentoo.org>
Thu, 10 Oct 2002 20:54:35 +0000 (20:54 +0000)
committerMarinus Schraal <foser@gentoo.org>
Thu, 10 Oct 2002 20:54:35 +0000 (20:54 +0000)
gnome-extra/libgsf/ChangeLog
gnome-extra/libgsf/files/digest-libgsf-1.3.0-r1 [new file with mode: 0644]
gnome-extra/libgsf/libgsf-1.3.0-r1.ebuild [new file with mode: 0644]

index 2c8650af35cdea25bc4fbc52809d8124e0064128..f5d108b8c5fb4d39da7c4136844ac199f5aa7398 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for gnome-extra/libgsf
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v 1.2 2002/09/01 23:03:15 spider Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v 1.3 2002/10/10 20:54:35 foser Exp $
+
+*libgsf-1.3.0-r1 (10 Oct 2002)
+  
+  10 Oct 2002; foser <foser@gentoo.org> libgsf-1.3.0-r1.ebuild :
+  Fixed documentation bug #7570 and added doc flag
 
 *libgsf-1.3.0 (01 Sep 2002)
   01 Sep 2002; Spider <spider@gentoo.org> libgsf-1.3.0.ebuild :
diff --git a/gnome-extra/libgsf/files/digest-libgsf-1.3.0-r1 b/gnome-extra/libgsf/files/digest-libgsf-1.3.0-r1
new file mode 100644 (file)
index 0000000..a21c3e2
--- /dev/null
@@ -0,0 +1 @@
+MD5 49bae0d52e91e98a0c635b595584aa8e libgsf-1.3.0.tar.bz2 211789
diff --git a/gnome-extra/libgsf/libgsf-1.3.0-r1.ebuild b/gnome-extra/libgsf/libgsf-1.3.0-r1.ebuild
new file mode 100644 (file)
index 0000000..c83322e
--- /dev/null
@@ -0,0 +1,55 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/libgsf-1.3.0-r1.ebuild,v 1.1 2002/10/10 20:54:35 foser Exp $
+
+IUSE="gnome doc"
+
+S=${WORKDIR}/${P}
+
+DESCRIPTION="The GNOME Structured File Library"
+SRC_URI="ftp://ftp.gnome.org/pub/GNOME/unstable/sources/libgsf/libgsf-1.3.0.tar.bz2 mirror://gnome/2.0.0/sources/${PN}/${P}.tar.bz2"
+HOMEPAGE="http://www.gnome.org/"
+
+SLOT="0"
+LICENSE="GPL-2 LGPL-2"
+KEYWORDS="x86 sparc sparc64"
+
+DEPEND=">=dev-libs/glib-2.0.4
+       >=dev-libs/libxml2-2.4.23
+       >=sys-libs/zlib-1.1.4
+       gnome? ( >=gnome-base/libbonobo-2.0.0
+               >=gnome-base/gnome-vfs-2.0.1 )
+       doc?    ( dev-util/gtk-doc )" 
+
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}/doc/
+
+       # little hack to fix bug 7570
+       cp Makefile.in Makefile.in.orig
+       sed -e "s:doc\$(TARGET_DIR):\$(TARGET_DIR):" \
+               Makefile.in.orig > Makefile.in
+}
+
+src_compile() {
+       local myconf 
+
+       use gnome &&  myconf="--with-gnome" || myconf="--without-gnome"
+       use doc && myconf="${myconf} --enable-gtk-doc" || \
+               myconf="${myconf} --disable-gtk-doc"
+       econf $myconf --with-zlib  || die
+       make || die
+}
+
+src_install() {
+
+       make prefix=${D}/usr \
+               sysconfdir=${D}/etc \
+               localstatedir=${D}/var/lib \
+               datadir=${D}/usr/share/doc/${PF} \
+               install || die
+
+       dodoc AUTHORS COPYING* ChangeLog INSTALL NEWS README
+}