/[gentoo-x86]/xfce-extra/exo/exo-0.3.101-r1.ebuild
Gentoo

Contents of /xfce-extra/exo/exo-0.3.101-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sun Aug 23 17:58:49 2009 UTC (10 years, 1 month ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Moved exo to xfce-base.

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/xfce-extra/exo/exo-0.3.101-r1.ebuild,v 1.7 2009/07/27 17:32:38 nixnut Exp $
4
5 EAPI="1"
6
7 inherit xfce4 python
8
9 XFCE_VERSION=4.6.1
10
11 xfce4_core
12
13 DESCRIPTION="Extensions, widgets and framework library with session management support"
14 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
15 IUSE="debug doc hal libnotify python"
16
17 RDEPEND=">=dev-lang/perl-5.6
18 dev-perl/URI
19 >=dev-libs/glib-2.6:2
20 >=x11-libs/gtk+-2.6:2
21 >=xfce-base/libxfce4util-${XFCE_VERSION}
22 libnotify? ( x11-libs/libnotify )
23 hal? ( sys-apps/hal )
24 python? ( dev-python/pygtk )"
25 DEPEND="${RDEPEND}
26 dev-util/intltool
27 doc? ( dev-util/gtk-doc )"
28
29 XFCE4_PATCHES="${FILESDIR}/exo-0.3.101-iocharset.patch"
30
31 pkg_setup() {
32 XFCE_CONFIG+=" $(use_enable doc gtk-doc) $(use_enable hal)
33 $(use_enable libnotify notifications) $(use_enable python)"
34 }
35
36 src_unpack() {
37 xfce4_src_unpack
38 cd "${S}"
39 rm py-compile
40 touch py-compile
41 chmod +x py-compile
42 }
43
44 pkg_postinst() {
45 xfce4_pkg_postinst
46 python_mod_optimize /usr/lib*/python*/site-packages
47 }
48
49 pkg_postrm() {
50 xfce4_pkg_postrm
51 python_mod_cleanup /usr/lib*/python*/site-packages
52 }
53
54 DOCS="AUTHORS ChangeLog HACKING NEWS README THANKS TODO"

  ViewVC Help
Powered by ViewVC 1.1.20