diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-11-03 19:45:44 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-11-03 19:45:44 +0000 |
commit | ea55e3cab8c4e10b7bed2b5a4bb0d54c5d0388f1 (patch) | |
tree | 2b80207c329ea0393da57c7efc2edea7d0932a6b /games-puzzle/pipepanic | |
parent | stable x86, bug 284283 (diff) | |
download | gentoo-2-ea55e3cab8c4e10b7bed2b5a4bb0d54c5d0388f1.tar.gz gentoo-2-ea55e3cab8c4e10b7bed2b5a4bb0d54c5d0388f1.tar.bz2 gentoo-2-ea55e3cab8c4e10b7bed2b5a4bb0d54c5d0388f1.zip |
initial commit (bug #206410)
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/pipepanic')
-rw-r--r-- | games-puzzle/pipepanic/ChangeLog | 11 | ||||
-rw-r--r-- | games-puzzle/pipepanic/files/pipepanic-0.1.3-gentoo.patch | 21 | ||||
-rw-r--r-- | games-puzzle/pipepanic/metadata.xml | 5 | ||||
-rw-r--r-- | games-puzzle/pipepanic/pipepanic-0.1.3.ebuild | 41 |
4 files changed, 78 insertions, 0 deletions
diff --git a/games-puzzle/pipepanic/ChangeLog b/games-puzzle/pipepanic/ChangeLog new file mode 100644 index 000000000000..3fe66b7c16db --- /dev/null +++ b/games-puzzle/pipepanic/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-puzzle/pipepanic +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pipepanic/ChangeLog,v 1.1 2009/11/03 19:45:44 mr_bones_ Exp $ + +*pipepanic-0.1.3 (03 Nov 2009) + + 03 Nov 2009; Michael Sterrett <mr_bones_@gentoo.org> + +pipepanic-0.1.3.ebuild, +files/pipepanic-0.1.3-gentoo.patch, + +metadata.xml: + initial commit (bug #206410) + diff --git a/games-puzzle/pipepanic/files/pipepanic-0.1.3-gentoo.patch b/games-puzzle/pipepanic/files/pipepanic-0.1.3-gentoo.patch new file mode 100644 index 000000000000..1366b7d341c8 --- /dev/null +++ b/games-puzzle/pipepanic/files/pipepanic-0.1.3-gentoo.patch @@ -0,0 +1,21 @@ +diff -ru pipepanic-0.1.3-source.orig/Makefile pipepanic-0.1.3-source/Makefile +--- pipepanic-0.1.3-source.orig/Makefile 2006-05-16 16:11:29.000000000 -0400 ++++ pipepanic-0.1.3-source/Makefile 2009-11-03 13:38:52.109137983 -0500 +@@ -3,15 +3,12 @@ + TARGET=pipepanic + + # Settings for x86. +-CC=gcc +-CFLAGS=-O2 -Wall -pedantic `sdl-config --cflags` +-LINK=gcc +-LDFLAGS= ++CFLAGS+=`sdl-config --cflags` + LIBS=`sdl-config --libs` + + all: + $(CC) $(CFLAGS) -c $(SOURCES) +- $(LINK) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(TARGET) ++ $(CC) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(TARGET) + + .PHONY: clean + diff --git a/games-puzzle/pipepanic/metadata.xml b/games-puzzle/pipepanic/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-puzzle/pipepanic/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> diff --git a/games-puzzle/pipepanic/pipepanic-0.1.3.ebuild b/games-puzzle/pipepanic/pipepanic-0.1.3.ebuild new file mode 100644 index 000000000000..4e92d5222a14 --- /dev/null +++ b/games-puzzle/pipepanic/pipepanic-0.1.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pipepanic/pipepanic-0.1.3.ebuild,v 1.1 2009/11/03 19:45:44 mr_bones_ Exp $ + +EAPI=2 +inherit eutils games + +DESCRIPTION="A simple pipe connecting game" +HOMEPAGE="http://www.users.waitrose.com/~thunor/pipepanic/" +SRC_URI="http://www.users.waitrose.com/~thunor/pipepanic/dload/${P}-source.tar.gz" + +LICENSE="GPL-2 FreeArt" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[video]" + +S=${WORKDIR}/${P}-source + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + # change harcoded data paths to match the install directory + sed -i \ + -e "s:/opt/QtPalmtop/share/pipepanic/:${GAMES_DATADIR}/${PN}/:" \ + main.h \ + || die "sed failed" +} + +src_install() { + dogamesbin "${PN}" || die "dogamesbin failed" + + insinto "${GAMES_DATADIR}/${PN}" + doins *.bmp || die "doins failed" + newicon PipepanicIcon64.png ${PN}.png + make_desktop_entry ${PN} "Pipepanic" + + dodoc AUTHORS ChangeLog README + + prepgamesdirs +} |