Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 117143 | Differences between
and this patch

Collapse All | Expand All

(-)wmii-2.ebuild (-18 / +4 lines)
Lines 1-27 Link Here
1
# Copyright 1999-2005 Gentoo Foundation
1
# Copyright 1999-2005 Gentoo Foundation
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/x11-wm/wmii/wmii-2.ebuild,v 1.1 2005/08/12 15:36:22 tove Exp $
4
3
5
inherit eutils toolchain-funcs
4
inherit eutils toolchain-funcs
6
5
7
DESCRIPTION="window manager improved 2 -- the next generation of the WMI project."
6
DESCRIPTION="window manager improved 2.5 -- the next generation of the WMI project."
8
HOMEPAGE="http://www.wmii.net"
7
HOMEPAGE="http://www.wmii.de"
9
SRC_URI="http://wmi.modprobe.de/download/${P}.tar.bz2"
8
SRC_URI="http://wmii.de/download/${P}.tar.gz"
10
9
11
LICENSE="MIT"
10
LICENSE="MIT"
12
SLOT="0"
11
SLOT="0"
13
KEYWORDS="~amd64 ~hppa ~x86"
12
KEYWORDS="~amd64 ~hppa ~x86"
14
IUSE="python"
15
13
16
DEPEND="virtual/x11
14
DEPEND="virtual/x11
17
	python? ( dev-python/pyrex )"
15
	sys-apps/9base"
18
16
19
src_unpack() {
17
src_unpack() {
20
	unpack "${A}"
18
	unpack "${A}"
21
	cd ${S}
19
	cd ${S}
22
20
23
	epatch "${FILESDIR}/${P}_050802.patch"
24
25
	sed -i \
21
	sed -i \
26
		-e "/^PREFIX/s/=.*/= \/usr/" \
22
		-e "/^PREFIX/s/=.*/= \/usr/" \
27
		-e "/^CONFPREFIX/s/=.*/= \/etc/" \
23
		-e "/^CONFPREFIX/s/=.*/= \/etc/" \
Lines 35-45 Link Here
35
31
36
src_compile() {
32
src_compile() {
37
	emake || die "emake failed"
33
	emake || die "emake failed"
38
39
	if useq python ; then
40
		cd "${S}"/libixp/python
41
		python setup.py build || die "python build failed."
42
	fi
43
}
34
}
44
35
45
src_install() {
36
src_install() {
Lines 48-58 Link Here
48
	dodoc ANNOUNCE || die "ANNOUNCE failed." # only in releases
39
	dodoc ANNOUNCE || die "ANNOUNCE failed." # only in releases
49
	dodoc CHANGES README LICENSE doc/welcome.txt || die "dodoc failed."
40
	dodoc CHANGES README LICENSE doc/welcome.txt || die "dodoc failed."
50
41
51
	if useq python ; then
52
		cd "${S}"/libixp/python
53
		python setup.py install --root="${D}" || die "python install failed."
54
	fi
55
56
#	insinto /usr/share/"${PN}"/contrib
42
#	insinto /usr/share/"${PN}"/contrib
57
#	doins "${S}"/contrib/README || die "contrib README failed."
43
#	doins "${S}"/contrib/README || die "contrib README failed."
58
#	exeinto /usr/share/"${PN}"/contrib
44
#	exeinto /usr/share/"${PN}"/contrib

Return to bug 117143