diff options
Diffstat (limited to 'gnome-extra/libgsf/libgsf-1.14.2.ebuild')
-rw-r--r-- | gnome-extra/libgsf/libgsf-1.14.2.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/gnome-extra/libgsf/libgsf-1.14.2.ebuild b/gnome-extra/libgsf/libgsf-1.14.2.ebuild new file mode 100644 index 000000000000..f9c06893d3c1 --- /dev/null +++ b/gnome-extra/libgsf/libgsf-1.14.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.2.ebuild,v 1.1 2006/11/05 17:24:23 metalgod Exp $ + +inherit eutils gnome2 + +DESCRIPTION="The GNOME Structured File Library" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="bzip2 doc gnome static" + +RDEPEND=">=dev-libs/libxml2-2.4.16 + >=dev-libs/glib-2.6 + sys-libs/zlib + gnome? ( media-gfx/imagemagick + >=gnome-base/gconf-2 + >=gnome-base/libbonobo-2 + >=gnome-base/gnome-vfs-2.2 ) + bzip2? ( app-arch/bzip2 )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + >=dev-util/intltool-0.29 + doc? ( >=dev-util/gtk-doc-1 )" + +G2CONF="${G2CONF} \ + $(use_with bzip2 bz2) \ + $(use_with gnome) \ + $(use_enable static)" + +src_install() { + + gnome2_src_install + + preserve_old_lib /usr/$(get_libdir)/libgsf-1.so.1 + preserve_old_lib /usr/$(get_libdir)/libgsf-gnome-1.so.1 + preserve_old_lib /usr/$(get_libdir)/libgsf-1.so.113 + preserve_old_lib /usr/$(get_libdir)/libgsf-gnome-1.so.113 + +} + +pkg_postinst() { + + gnome2_pkg_postinst + + preserve_old_lib_notify /usr/$(get_libdir)/libgsf-1.so.1 + preserve_old_lib_notify /usr/$(get_libdir)/libgsf-gnome-1.so.1 + preserve_old_lib_notify /usr/$(get_libdir)/libgsf-1.so.113 + preserve_old_lib_notify /usr/$(get_libdir)/libgsf-gnome-1.so.113 + +} + +DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO" |