# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: inherit gnome2 DESCRIPTION="The GNOME Structured File Library" HOMEPAGE="http://www.gnome.org/" SRC_URI="http://ftp.gnome.org/pub/gnome/sources/libgsf/${P_V}/${P}.tar.bz2" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="bzip2 doc gnome static" RDEPEND=">=dev-libs/libxml2-2.4.16 >=dev-libs/glib-2.6 sys-libs/zlib gnome? ( >=gnome-base/libbonobo-2 >=gnome-base/gnome-vfs-2.2 ) bzip2? ( app-arch/bzip2 )" DEPEND="${RDEPEND} dev-util/pkgconfig doc? ( >=dev-util/gtk-doc-1 )" src_install() { make install DESTDIR="${D}" || die } G2CONF="${G2CONF} $(use_with bzip2 bz2) $(use_with gnome) $(use_enable static)" DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO"