1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="3D motor sports simulator"
7 HOMEPAGE="http://gracer.sourceforge.net/"
8 SRC_URI="mirror://sourceforge/gracer/${P}.tar.gz"
12 KEYWORDS="~amd64 ~x86"
30 "${FILESDIR}"/${PV}-gldefs.patch
31 "${FILESDIR}"/${PN}-gcc-3.4.patch
32 "${FILESDIR}/${P}"-gcc41.patch
33 "${FILESDIR}"/${P}-as-needed.patch
34 "${FILESDIR}"/${P}-libpng14.patch
35 "${FILESDIR}"/${P}-png15.patch
36 "${FILESDIR}"/${P}-giflib.patch
37 "${FILESDIR}"/${P}-warnings.patch
45 $(use_enable joystick)
47 -e 's:-lplibsl:-lplibsl -lplibul:' \
48 $(find -name Makefile) || die