# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games gcc DESCRIPTION="If you are looking for a mixed game of arcade, action, volley-ball and fun : You're on the right way!!!" HOMEPAGE="https://gna.org/projects/koobyvolley" SRC_URI="http://guybrush.ath.cx/koobyvolley/${PN}-${PV}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=media-libs/libsdl-1.2.7 >=media-libs/sdl-mixer-1.2.5 virtual/opengl media-libs/alsa-lib" RDEPEND="${DEPEND}" RESTRICT="nomirror" src_unpack() { unpack ${A} } pkg_preinst() { # Doesn't compile with gcc-3.4.3 # Maybe we can change the gcc version in use on the fly like it's done in # Ooo ebuilds... if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ] then eerror "You can't use gcc-3.4.x to compile ${PN}" eerror "Please do that :" eerror " gcc-config -l" eerror "And choose gcc-3.3.x" die "Bad gcc version" fi } src_compile() { egamesconf || die "egamesconf failed" emake || die "emake failed" } src_install() { egamesinstall || die "egamesinstall failed" dodoc lisezmoi readme authors todo }