diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-06-05 05:33:57 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-06-05 05:33:57 +0000 |
commit | 005545fcc54dfb288571ffe97dd1670bcf9ccd38 (patch) | |
tree | 49ad53d0c1c4b008b08cd2bcd9f20bb6c056473f /games-misc/gtklife/gtklife-4.2.ebuild | |
parent | patch from Niklas Bolander for more use flags - bug #60937 (diff) | |
download | gentoo-2-005545fcc54dfb288571ffe97dd1670bcf9ccd38.tar.gz gentoo-2-005545fcc54dfb288571ffe97dd1670bcf9ccd38.tar.bz2 gentoo-2-005545fcc54dfb288571ffe97dd1670bcf9ccd38.zip |
version bump
(Portage version: 2.0.51.19)
Diffstat (limited to 'games-misc/gtklife/gtklife-4.2.ebuild')
-rw-r--r-- | games-misc/gtklife/gtklife-4.2.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/games-misc/gtklife/gtklife-4.2.ebuild b/games-misc/gtklife/gtklife-4.2.ebuild new file mode 100644 index 000000000000..2a5e0ff704ff --- /dev/null +++ b/games-misc/gtklife/gtklife-4.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-misc/gtklife/gtklife-4.2.ebuild,v 1.1 2005/06/05 05:33:57 mr_bones_ Exp $ + +inherit games + +DESCRIPTION="A Conway's Life simulator for Unix." +HOMEPAGE="http://ironphoenix.org/tril/gtklife/" +SRC_URI="http://ironphoenix.org/tril/gtklife/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +DEPEND="=x11-libs/gtk+-1.2*" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e "/install/s:\$\(.*DIR\):\$(DESTDIR)/&:" \ + -e "/rm/s:\$\(.*DIR\):\$(DESTDIR)/&:" \ + -e "/cp/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 ChangeLog NEWS README + prepgamesdirs +} |