summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Ferri <mescalinum@gentoo.org>2007-08-21 17:05:32 +0000
committerFederico Ferri <mescalinum@gentoo.org>2007-08-21 17:05:32 +0000
commit5fd7d03fe6e20cd7605e638a6f2483bd4577bd83 (patch)
treeb262fe3443f19b9f55dc03b74d4d7718c3474a99 /games-arcade/vodovod/vodovod-1.10.ebuild
parentx11-misc/kdelnk2wmaker: New Ebuild for bug 188402 (diff)
downloadsunrise-5fd7d03fe6e20cd7605e638a6f2483bd4577bd83.tar.gz
sunrise-5fd7d03fe6e20cd7605e638a6f2483bd4577bd83.tar.bz2
sunrise-5fd7d03fe6e20cd7605e638a6f2483bd4577bd83.zip
games-arcade/vodovod: New Ebuild for bug 183731
svn path=/sunrise/; revision=4469
Diffstat (limited to 'games-arcade/vodovod/vodovod-1.10.ebuild')
-rw-r--r--games-arcade/vodovod/vodovod-1.10.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/games-arcade/vodovod/vodovod-1.10.ebuild b/games-arcade/vodovod/vodovod-1.10.ebuild
new file mode 100644
index 000000000..b2a47e1c5
--- /dev/null
+++ b/games-arcade/vodovod/vodovod-1.10.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils games
+
+DESCRIPTION="A free cross-platform pipe connecting game"
+HOMEPAGE="http://home.gna.org/vodovod/"
+SRC_URI="http://download.gna.org/vodovod/${P}-src.tar.gz"
+
+S="${WORKDIR}/${P}-src"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-image"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -e 's:"\(data/[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i *.cpp
+}
+
+src_install() {
+ dogamesbin "${PN}" || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}/${PN}/data"
+ doins data/* || die "doins failed"
+ #doicon ${DISTDIR}/${PN}.png
+ make_desktop_entry ${PN} "Vodovod"
+ prepgamesdirs
+}