|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $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 $ | # $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 $ |
| |
inherit eutils multilib games |
inherit autotools eutils multilib games |
| |
DESCRIPTION="The Open Racing Car Simulator" | DESCRIPTION="The Open Racing Car Simulator" |
HOMEPAGE="http://torcs.sourceforge.net/" | HOMEPAGE="http://torcs.sourceforge.net/" |
|
|
src_unpack() { | src_unpack() { |
unpack ${A} | unpack ${A} |
cd "${S}" | cd "${S}" |
epatch "${FILESDIR}/${P}-gcc43.patch" |
epatch \ |
|
"${FILESDIR}"/${P}-gcc43.patch \ |
|
"${FILESDIR}"/${P}-as-needed.patch |
|
eautoreconf |
|
ecvs_clean |
} | } |
| |
src_compile() { | src_compile() { |
|
|
dodoc README.linux doc/history/history.txt | dodoc README.linux doc/history/history.txt |
doman doc/man/*.6 | doman doc/man/*.6 |
dohtml -r doc/faq/faq.html doc/tutorials doc/userman | dohtml -r doc/faq/faq.html doc/tutorials doc/userman |
rm -rf $(find "${D}/usr/share/doc" -type d -name CVS) |
|
prepgamesdirs | prepgamesdirs |
} | } |