summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-03-19 05:01:35 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-03-19 05:01:35 +0000
commit793cd62ab0079d0ffedbd67908eeff387a7d9522 (patch)
tree005b7d164fea5761c92793977929eef44c8451cc /games-puzzle/einstein
parentGNOME 2.14.0 meta build (diff)
downloadgentoo-2-793cd62ab0079d0ffedbd67908eeff387a7d9522.tar.gz
gentoo-2-793cd62ab0079d0ffedbd67908eeff387a7d9522.tar.bz2
gentoo-2-793cd62ab0079d0ffedbd67908eeff387a7d9522.zip
initial commit - ebuild from Philipp Edelmann via bug #126662
(Portage version: 2.1_pre6-r3)
Diffstat (limited to 'games-puzzle/einstein')
-rw-r--r--games-puzzle/einstein/ChangeLog10
-rw-r--r--games-puzzle/einstein/Manifest6
-rw-r--r--games-puzzle/einstein/einstein-2.0.ebuild40
-rw-r--r--games-puzzle/einstein/files/digest-einstein-2.03
-rw-r--r--games-puzzle/einstein/metadata.xml5
5 files changed, 64 insertions, 0 deletions
diff --git a/games-puzzle/einstein/ChangeLog b/games-puzzle/einstein/ChangeLog
new file mode 100644
index 000000000000..b049d460139d
--- /dev/null
+++ b/games-puzzle/einstein/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-puzzle/einstein
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/einstein/ChangeLog,v 1.1 2006/03/19 05:01:35 mr_bones_ Exp $
+
+*einstein-2.0 (19 Mar 2006)
+
+ 19 Mar 2006; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+ +einstein-2.0.ebuild:
+ initial commit - ebuild from Philipp Edelmann via bug #126662
+
diff --git a/games-puzzle/einstein/Manifest b/games-puzzle/einstein/Manifest
new file mode 100644
index 000000000000..7f7f21b7d1d0
--- /dev/null
+++ b/games-puzzle/einstein/Manifest
@@ -0,0 +1,6 @@
+MD5 1409008e8b2f8a670133f69c2f8d5fcb einstein-2.0.ebuild 1040
+RMD160 45ead58f03c4a8a868d05347da7b234e4bfb8cff einstein-2.0.ebuild 1040
+SHA256 2a505de9d095b71c68c320231c8824aa9d8add6f41582126ef6c1b5de91d464c einstein-2.0.ebuild 1040
+MD5 1eeb3391b2fb750f02fbea51e765f873 files/digest-einstein-2.0 250
+RMD160 f0f8620b0df06a137a87dfaa3ec161879c85477c files/digest-einstein-2.0 250
+SHA256 f155131cf5ab8b74b0b1c5ce0b9c78267efdefc580a9ce8c43f3f1c32ac17f4d files/digest-einstein-2.0 250
diff --git a/games-puzzle/einstein/einstein-2.0.ebuild b/games-puzzle/einstein/einstein-2.0.ebuild
new file mode 100644
index 000000000000..fa07cd9beb37
--- /dev/null
+++ b/games-puzzle/einstein/einstein-2.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/einstein/einstein-2.0.ebuild,v 1.1 2006/03/19 05:01:35 mr_bones_ Exp $
+
+inherit eutils games
+
+DESCRIPTION="A puzzle game inspired by Albert Einstein"
+HOMEPAGE="http://games.flowix.com/en/"
+SRC_URI="http://games.flowix.com/files/einstein/${P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-ttf"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "/PREFIX/s:/usr/local:${GAMES_PREFIX}:" \
+ -e "s:\$(PREFIX)/share/einstein:${GAMES_DATADIR}/${PN}:" \
+ -e "s:\$(PREFIX)/bin:${GAMES_BINDIR}:" \
+ -e "s/\(OPTIMIZE=[^#]*\)/\0 ${CXXFLAGS}/" Makefile \
+ || die "sed Makefile failed"
+ sed -i \
+ -e "s:PREFIX L\"/share/einstein:L\"${GAMES_DATADIR}/${PN}:" main.cpp \
+ || die "sed main.cpp failed"
+}
+
+src_install() {
+ dogamesbin "${PN}" || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}/${PN}/res"
+ doins einstein.res || die "doins failed"
+ make_desktop_entry ${PN} "Einstein Puzzle"
+ prepgamesdirs
+}
diff --git a/games-puzzle/einstein/files/digest-einstein-2.0 b/games-puzzle/einstein/files/digest-einstein-2.0
new file mode 100644
index 000000000000..c4ee4a528786
--- /dev/null
+++ b/games-puzzle/einstein/files/digest-einstein-2.0
@@ -0,0 +1,3 @@
+MD5 c1d98e761c10af63f03462ead625f80c einstein-2.0-src.tar.gz 722301
+RMD160 f19b1f86b33d805300c4423aeb2d88f1f5cae3c5 einstein-2.0-src.tar.gz 722301
+SHA256 0f2d1c7d46d36f27a856b98cd4bbb95813970c8e803444772be7bd9bec45a548 einstein-2.0-src.tar.gz 722301
diff --git a/games-puzzle/einstein/metadata.xml b/games-puzzle/einstein/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-puzzle/einstein/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>