1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="A free cross-platform pipe connecting game"
8 HOMEPAGE="http://home.gna.org/vodovod/"
9 SRC_URI="http://download.gna.org/${PN}/${P}-src.tar.gz"
14 KEYWORDS="~amd64 ~x86"
17 DEPEND="media-libs/libsdl
25 sed -e 's:"\(data/[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i *.cpp || die
26 epatch "${FILESDIR}/${P}-gcc4.3.patch"
30 dogamesbin "${PN}" || die "dogamesbin failed"
31 insinto "${GAMES_DATADIR}/${PN}/data"
32 doins data/* || die "doins failed"
33 #doicon ${DISTDIR}/${PN}.png
34 make_desktop_entry ${PN} "Vodovod"