1 # Copyright 1999-2007 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/vodovod/${P}-src.tar.gz"
11 S="${WORKDIR}/${P}-src"
17 DEPEND="media-libs/libsdl
24 sed -e 's:"\(data/[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i *.cpp
28 dogamesbin "${PN}" || die "dogamesbin failed"
29 insinto "${GAMES_DATADIR}/${PN}/data"
30 doins data/* || die "doins failed"
31 #doicon ${DISTDIR}/${PN}.png
32 make_desktop_entry ${PN} "Vodovod"