Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 177552
Collapse All | Expand All

(-)libgsf-1.14.3.ebuild (-2 / +8 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.3.ebuild,v 1.1 2007/03/21 05:01:25 leio Exp $
3
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.3.ebuild,v 1.1 2007/03/21 05:01:25 leio Exp $
4
4
5
inherit eutils gnome2
5
inherit eutils gnome2 python multilib
6
6
7
DESCRIPTION="The GNOME Structured File Library"
7
DESCRIPTION="The GNOME Structured File Library"
8
HOMEPAGE="http://www.gnome.org/"
8
HOMEPAGE="http://www.gnome.org/"
Lines 38-43 Link Here
38
	$(use_with gnome) \
38
	$(use_with gnome) \
39
	$(use_with python)"
39
	$(use_with python)"
40
40
41
DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO"
42
41
pkg_preinst() {
43
pkg_preinst() {
42
	preserve_old_lib /usr/$(get_libdir)/libgsf-1.so.1
44
	preserve_old_lib /usr/$(get_libdir)/libgsf-1.so.1
43
	preserve_old_lib /usr/$(get_libdir)/libgsf-gnome-1.so.1
45
	preserve_old_lib /usr/$(get_libdir)/libgsf-gnome-1.so.1
Lines 47-52 Link Here
47
49
48
pkg_postinst() {
50
pkg_postinst() {
49
	gnome2_pkg_postinst
51
	gnome2_pkg_postinst
52
	use python && python_mod_optimize ${ROOT}usr/$(get_libdir)/python*/site-packages/gsf
50
53
51
	preserve_old_lib_notify /usr/$(get_libdir)/libgsf-1.so.1
54
	preserve_old_lib_notify /usr/$(get_libdir)/libgsf-1.so.1
52
	preserve_old_lib_notify /usr/$(get_libdir)/libgsf-gnome-1.so.1
55
	preserve_old_lib_notify /usr/$(get_libdir)/libgsf-gnome-1.so.1
Lines 54-57 Link Here
54
	preserve_old_lib_notify /usr/$(get_libdir)/libgsf-gnome-1.so.113
57
	preserve_old_lib_notify /usr/$(get_libdir)/libgsf-gnome-1.so.113
55
}
58
}
56
59
57
DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO"
60
pkg_postrm() {
61
	gnome2_pkg_postrm
62
	use python && python_mod_cleanup
63
}

Return to bug 177552