blob: 351204a3659c2d5a8cf7e55ae6a36cd473482ff9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/amiwm/amiwm-0.20_p48.ebuild,v 1.10 2009/12/27 13:33:41 flameeyes Exp $
inherit eutils
MY_P="${PN}${PV/_p/pl}"
DESCRIPTION="Windowmanager ala Amiga(R) Workbench(R)"
HOMEPAGE="http://www.lysator.liu.se/~marcus/amiwm.html"
SRC_URI="ftp://ftp.lysator.liu.se/pub/X11/wm/amiwm/${MY_P}.tar.gz"
LICENSE="amiwm"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
RDEPEND="x11-libs/libX11
x11-libs/libXmu
x11-libs/libXext"
DEPEND="${RDEPEND}
x11-proto/xproto
x11-proto/xextproto"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-flex.patch #110169
}
src_compile() {
econf
# bug #248680
emake -j1 || die "build failed"
}
src_install() {
dodir /usr/bin
einstall || die
rm "${D}"/usr/bin/requestchoice
dosym /usr/lib/amiwm/requestchoice /usr/bin/requestchoice
dosed /usr/lib/amiwm/{Xinitrc,Xsession,Xsession2}
dodoc INSTALL README*
exeinto /etc/X11/Sessions
echo "/usr/bin/amiwm" > "${T}"/amiwm
doexe "${T}"/amiwm
}
|