1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils games toolchain-funcs
9 DESCRIPTION="snake like game"
10 HOMEPAGE="http://www.hs.no-ip.info/software/snake.html"
11 SRC_URI="http://www.hs.no-ip.info/software/${P}.tar.bz2"
15 KEYWORDS="~amd64 ~x86"
18 media-libs/libsdl[alsa,X]
20 media-libs/sdl-image[png]
27 epatch "${FILESDIR}"/${P}-{clean-up-Makefile,qa-warnings}.patch
30 emake CC=$(tc-getCXX) \
31 my_CXXFLAGS="${CXXFLAGS}" \
32 LDFLAGS="${LDFLAGS}" || die "emake failed"
35 emake DESTDIR="${D}" install || die "install failed"