|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.3.ebuild,v 1.1 2007/03/21 05:01:25 leio Exp $ | # $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.3.ebuild,v 1.1 2007/03/21 05:01:25 leio Exp $ |
| |
inherit eutils gnome2 |
inherit eutils gnome2 python multilib |
| |
DESCRIPTION="The GNOME Structured File Library" | DESCRIPTION="The GNOME Structured File Library" |
HOMEPAGE="http://www.gnome.org/" | HOMEPAGE="http://www.gnome.org/" |
|
|
$(use_with gnome) \ | $(use_with gnome) \ |
$(use_with python)" | $(use_with python)" |
| |
|
DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO" |
|
|
pkg_preinst() { | pkg_preinst() { |
preserve_old_lib /usr/$(get_libdir)/libgsf-1.so.1 | 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-gnome-1.so.1 |
|
|
| |
pkg_postinst() { | pkg_postinst() { |
gnome2_pkg_postinst | gnome2_pkg_postinst |
|
use python && python_mod_optimize ${ROOT}usr/$(get_libdir)/python*/site-packages/gsf |
| |
preserve_old_lib_notify /usr/$(get_libdir)/libgsf-1.so.1 | 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-gnome-1.so.1 |
|
|
preserve_old_lib_notify /usr/$(get_libdir)/libgsf-gnome-1.so.113 | preserve_old_lib_notify /usr/$(get_libdir)/libgsf-gnome-1.so.113 |
} | } |
| |
DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO" |
pkg_postrm() { |
|
gnome2_pkg_postrm |
|
use python && python_mod_cleanup |
|
} |