Lines 2-8
Link Here
|
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/games-sports/torcs/torcs-1.3.0.ebuild,v 1.6 2008/04/08 04:10:26 mr_bones_ Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/games-sports/torcs/torcs-1.3.0.ebuild,v 1.6 2008/04/08 04:10:26 mr_bones_ Exp $ |
4 |
|
4 |
|
5 |
inherit eutils multilib games |
5 |
inherit autotools eutils multilib games |
6 |
|
6 |
|
7 |
DESCRIPTION="The Open Racing Car Simulator" |
7 |
DESCRIPTION="The Open Racing Car Simulator" |
8 |
HOMEPAGE="http://torcs.sourceforge.net/" |
8 |
HOMEPAGE="http://torcs.sourceforge.net/" |
Lines 28-34
Link Here
|
28 |
src_unpack() { |
28 |
src_unpack() { |
29 |
unpack ${A} |
29 |
unpack ${A} |
30 |
cd "${S}" |
30 |
cd "${S}" |
31 |
epatch "${FILESDIR}/${P}-gcc43.patch" |
31 |
epatch \ |
|
|
32 |
"${FILESDIR}"/${P}-gcc43.patch \ |
33 |
"${FILESDIR}"/${P}-as-needed.patch |
34 |
eautoreconf |
35 |
ecvs_clean |
32 |
} |
36 |
} |
33 |
|
37 |
|
34 |
src_compile() { |
38 |
src_compile() { |
Lines 48-53
Link Here
|
48 |
dodoc README.linux doc/history/history.txt |
52 |
dodoc README.linux doc/history/history.txt |
49 |
doman doc/man/*.6 |
53 |
doman doc/man/*.6 |
50 |
dohtml -r doc/faq/faq.html doc/tutorials doc/userman |
54 |
dohtml -r doc/faq/faq.html doc/tutorials doc/userman |
51 |
rm -rf $(find "${D}/usr/share/doc" -type d -name CVS) |
|
|
52 |
prepgamesdirs |
55 |
prepgamesdirs |
53 |
} |
56 |
} |