summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-misc')
-rw-r--r--games-misc/gtklife/ChangeLog10
-rw-r--r--games-misc/gtklife/Manifest2
-rw-r--r--games-misc/gtklife/files/digest-gtklife-2.21
-rw-r--r--games-misc/gtklife/gtklife-2.2.ebuild48
-rw-r--r--games-misc/gtklife/metadata.xml5
5 files changed, 66 insertions, 0 deletions
diff --git a/games-misc/gtklife/ChangeLog b/games-misc/gtklife/ChangeLog
new file mode 100644
index 000000000000..11a9a4489ade
--- /dev/null
+++ b/games-misc/gtklife/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-misc/gtklife
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/gtklife/ChangeLog,v 1.1 2004/06/06 08:14:57 mr_bones_ Exp $
+
+*gtklife-2.2 (06 Jun 2004)
+
+ 06 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> gtklife-2.2.ebuild,
+ metadata.xml:
+ initial commit - ebuild submitted by Daniel Fullmer via bug #47649
+
diff --git a/games-misc/gtklife/Manifest b/games-misc/gtklife/Manifest
new file mode 100644
index 000000000000..72c8d5a700ea
--- /dev/null
+++ b/games-misc/gtklife/Manifest
@@ -0,0 +1,2 @@
+MD5 6611075b7e678c9fbc677f3b232e2314 gtklife-2.2.ebuild 856
+MD5 06ee7fca0bbc714655d3c98655be9e92 files/digest-gtklife-2.2 63
diff --git a/games-misc/gtklife/files/digest-gtklife-2.2 b/games-misc/gtklife/files/digest-gtklife-2.2
new file mode 100644
index 000000000000..2fa6d6143834
--- /dev/null
+++ b/games-misc/gtklife/files/digest-gtklife-2.2
@@ -0,0 +1 @@
+MD5 a416569ab441abb72881272f8feb91b2 gtklife-2.2.tar.gz 282559
diff --git a/games-misc/gtklife/gtklife-2.2.ebuild b/games-misc/gtklife/gtklife-2.2.ebuild
new file mode 100644
index 000000000000..676b803554a2
--- /dev/null
+++ b/games-misc/gtklife/gtklife-2.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/gtklife/gtklife-2.2.ebuild,v 1.1 2004/06/06 08:14:57 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="A Conway's Life simulator for Unix."
+HOMEPAGE="http://www.igs.net/~tril/gtklife/"
+SRC_URI="http://www.igs.net/~tril/gtklife/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+RDEPEND="=x11-libs/gtk+-1.2*"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i \
+ -e "/install/s:\$\(.*DIR\):\$(DESTDIR)/&:" Makefile \
+ || die "sed failed"
+}
+
+src_compile() {
+ emake \
+ CFLAGS="${CFLAGS}" \
+ PREFIX=/usr \
+ BINDIR="${GAMES_BINDIR}" \
+ DATADIR="${GAMES_DATADIR}/${PN}" \
+ DOCDIR="\$(PREFIX)/share/doc/${PF}/html" \
+ || die "emake failed"
+}
+
+src_install() {
+ make \
+ DESTDIR="${D}" \
+ PREFIX=/usr \
+ BINDIR="${GAMES_BINDIR}" \
+ DATADIR="${GAMES_DATADIR}/${PN}" \
+ DOCDIR="\$(PREFIX)/share/doc/${PF}/html" \
+ install || die "make install failed"
+ dodoc CHANGES README
+ prepgamesdirs
+}
diff --git a/games-misc/gtklife/metadata.xml b/games-misc/gtklife/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/gtklife/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>