/[gentoo-x86]/x11-wm/plwm/plwm-2.5-r1.ebuild
Gentoo

Contents of /x11-wm/plwm/plwm-2.5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Apr 16 18:47:09 2011 UTC (3 years ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -3 lines
Drop alpha keyword

(Portage version: 2.1.9.45/cvs/Linux ia64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-wm/plwm/plwm-2.5-r1.ebuild,v 1.7 2010/07/14 16:31:12 arfrever Exp $
4
5 PYTHON_DEPEND="2"
6
7 inherit eutils python
8
9 DESCRIPTION="Python classes for, and an implementation of, a window manager."
10 HOMEPAGE="http://plwm.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/plwm/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="ppc x86"
16 IUSE=""
17
18 DEPEND=">=dev-python/python-xlib-0.12"
19 RDEPEND="${DEPEND}"
20
21 src_unpack() {
22 unpack ${A}
23 cd "${S}"
24 epatch "${FILESDIR}/${P}-destdir.patch"
25 epatch "${FILESDIR}/${P}-python2.5.patch"
26 epatch "${FILESDIR}/${P}-pep0263.patch"
27 }
28
29 src_compile() {
30 econf || die "econf failed"
31 emake || die "emake failed"
32 emake -C doc || die "emake -C doc failed"
33 }
34
35 src_install() {
36 emake DESTDIR="${D}" install || die "emake install failed"
37 doinfo doc/*.info* || die "doinfo failed"
38 dodoc README NEWS ONEWS examples/* || die "dodoc failed"
39 }
40
41 pkg_postinst() {
42 python_mod_optimize $(python_get_sitedir)/plwm
43 }
44
45 pkg_postrm() {
46 python_mod_cleanup $(python_get_sitedir)/plwm
47 }

  ViewVC Help
Powered by ViewVC 1.1.20