Lines 1-4
Link Here
|
1 |
# Copyright 1999-2009 Gentoo Foundation |
1 |
# Copyright 1999-2010 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/amiwm/amiwm-0.20_p48.ebuild,v 1.10 2009/12/27 13:33:41 flameeyes Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-wm/amiwm/amiwm-0.20_p48.ebuild,v 1.10 2009/12/27 13:33:41 flameeyes Exp $ |
4 |
|
4 |
|
Lines 26-36
Link Here
|
26 |
src_unpack() { |
26 |
src_unpack() { |
27 |
unpack ${A} |
27 |
unpack ${A} |
28 |
cd "${S}" |
28 |
cd "${S}" |
|
|
29 |
|
29 |
epatch "${FILESDIR}"/${P}-flex.patch #110169 |
30 |
epatch "${FILESDIR}"/${P}-flex.patch #110169 |
|
|
31 |
sed -i -e 's/$(INSTALL) -s/$(INSTALL)/' Makefile.in || die |
30 |
} |
32 |
} |
31 |
|
33 |
|
32 |
src_compile() { |
34 |
src_compile() { |
33 |
econf |
35 |
econf || die |
34 |
# bug #248680 |
36 |
# bug #248680 |
35 |
emake -j1 || die "build failed" |
37 |
emake -j1 || die "build failed" |
36 |
} |
38 |
} |
Lines 42-52
Link Here
|
42 |
rm "${D}"/usr/bin/requestchoice |
44 |
rm "${D}"/usr/bin/requestchoice |
43 |
dosym /usr/lib/amiwm/requestchoice /usr/bin/requestchoice |
45 |
dosym /usr/lib/amiwm/requestchoice /usr/bin/requestchoice |
44 |
|
46 |
|
45 |
dosed /usr/lib/amiwm/{Xinitrc,Xsession,Xsession2} |
47 |
dosed /usr/$(get_libdir)/amiwm/{Xinitrc,Xsession,Xsession2} |
46 |
|
48 |
|
47 |
dodoc INSTALL README* |
49 |
dodoc INSTALL README* || die |
48 |
|
50 |
|
49 |
exeinto /etc/X11/Sessions |
51 |
exeinto /etc/X11/Sessions |
50 |
echo "/usr/bin/amiwm" > "${T}"/amiwm |
52 |
echo "/usr/bin/amiwm" > "${T}"/amiwm |
51 |
doexe "${T}"/amiwm |
53 |
doexe "${T}"/amiwm || die |
52 |
} |
54 |
} |