summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-11-22 01:06:20 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2015-11-22 01:06:20 -0500
commit8df40c03feefdb25f22f566d5de55e444c2e6903 (patch)
tree709e79766784da17b18d68546a96f26fcc0e2bb9 /games-arcade/alienwave
parentuse epatch to apply patch (diff)
downloadgentoo-8df40c03feefdb25f22f566d5de55e444c2e6903.tar.gz
gentoo-8df40c03feefdb25f22f566d5de55e444c2e6903.tar.bz2
gentoo-8df40c03feefdb25f22f566d5de55e444c2e6903.zip
version bump
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'games-arcade/alienwave')
-rw-r--r--games-arcade/alienwave/Manifest1
-rw-r--r--games-arcade/alienwave/alienwave-0.3.0.ebuild10
-rw-r--r--games-arcade/alienwave/alienwave-0.4.0.ebuild30
-rw-r--r--games-arcade/alienwave/files/alienwave-0.3.0-gentoo.patch4
-rw-r--r--games-arcade/alienwave/files/alienwave-0.4.0-gentoo.patch22
5 files changed, 61 insertions, 6 deletions
diff --git a/games-arcade/alienwave/Manifest b/games-arcade/alienwave/Manifest
index d4fea03ef668..3e41fcaca584 100644
--- a/games-arcade/alienwave/Manifest
+++ b/games-arcade/alienwave/Manifest
@@ -1 +1,2 @@
DIST alienwave-0.3.0.tar.gz 22046 SHA256 89902193bc6d5dc13ea4acee26f5a0f72a561e9bbadd0f82e098d770d38f83ae SHA512 b02b28256edde96676acb0e731b8ba6056466eba01ebc3e3d433439c009f7860f2a4f9d0253cc5b1eca758eaba8bc780c5484bb8948c4bb5c085e5c0d9924f2b WHIRLPOOL 1f795d463a78e9feda25a77b7ae1d068412c3c7baae2a1aa65ce30f79a6d2fd187ef1ecd65404ace006efd49c78911304fb10c68d46f7093abdc50dfaae2342b
+DIST alienwave-0.4.0.tar.gz 21931 SHA256 9f317cfa0fabf98e5c47dc793f6eb4dbca0b6e65e136e0661abc267ce720fc44 SHA512 e3342facda85fb5fee8cb34569a60877d7f9110f23b543f16abe20d694556e1e33a45e1d39dec5c0fdf4cec7f10547c5974a629d29669da985456d8c0398e9bd WHIRLPOOL 2a1b06afb0d3fc0a6467bca8cfc571dcd6bdd411136aa3822a403b3cee7fabf32d14f28ede6ac0ff9ee074c46ec8f45628e68641027e81233e61332172d6535a
diff --git a/games-arcade/alienwave/alienwave-0.3.0.ebuild b/games-arcade/alienwave/alienwave-0.3.0.ebuild
index 4745ebd3399b..c45814c789fe 100644
--- a/games-arcade/alienwave/alienwave-0.3.0.ebuild
+++ b/games-arcade/alienwave/alienwave-0.3.0.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
+EAPI=5
inherit eutils games
DESCRIPTION="An ncurses-based Xenon clone"
@@ -14,12 +14,14 @@ SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86 ~x86-fbsd"
IUSE=""
-DEPEND="sys-libs/ncurses"
-RDEPEND="${DEPEND}"
+DEPEND="sys-libs/ncurses:0"
+RDEPEND=${DEPEND}
S=${WORKDIR}/${PN}
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
src_install() {
dogamesbin alienwave
diff --git a/games-arcade/alienwave/alienwave-0.4.0.ebuild b/games-arcade/alienwave/alienwave-0.4.0.ebuild
new file mode 100644
index 000000000000..734e752c22cb
--- /dev/null
+++ b/games-arcade/alienwave/alienwave-0.4.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="An ncurses-based Xenon clone"
+HOMEPAGE="http://www.alessandropira.org/alienwave/aw.html"
+SRC_URI="http://www.alessandropira.org/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="sys-libs/ncurses:0"
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_install() {
+ dogamesbin alienwave
+ dodoc TO_DO README STORY
+ prepgamesdirs
+}
diff --git a/games-arcade/alienwave/files/alienwave-0.3.0-gentoo.patch b/games-arcade/alienwave/files/alienwave-0.3.0-gentoo.patch
index 1b71f1cf1838..87d436ca57db 100644
--- a/games-arcade/alienwave/files/alienwave-0.3.0-gentoo.patch
+++ b/games-arcade/alienwave/files/alienwave-0.3.0-gentoo.patch
@@ -1,5 +1,5 @@
---- Makefile.old 2009-01-30 16:04:16.000000000 +0100
-+++ Makefile 2009-01-30 16:07:04.000000000 +0100
+--- Makefile.old
++++ Makefile
@@ -1,9 +1,7 @@
# This file is part of Alienwave, a game by Alessandro Pira
diff --git a/games-arcade/alienwave/files/alienwave-0.4.0-gentoo.patch b/games-arcade/alienwave/files/alienwave-0.4.0-gentoo.patch
new file mode 100644
index 000000000000..bed5d38c0b8f
--- /dev/null
+++ b/games-arcade/alienwave/files/alienwave-0.4.0-gentoo.patch
@@ -0,0 +1,22 @@
+--- alienwave.orig/Makefile
++++ alienwave/Makefile
+@@ -1,9 +1,7 @@
+ # This file is part of Alienwave, a game by Alessandro Pira
+
+-CC = gcc
+ OBJS = main.o blit.o aliens.o xzarna.o fire.o shield.o levels.o util.o
+ # CFLAGS = -c -O2 -Wall -DDEBUG_LEV
+-CFLAGS = -c -O2 -Wall
+ LIB = -lncurses
+
+ # Uncomment this if you want random waves
+@@ -16,8 +14,7 @@
+
+
+ alienwave: $(OBJS)
+- $(CC) $(OBJS) $(LIB) -o alienwave
+- strip alienwave
++ $(CC) $(OBJS) $(LDFLAGS) $(LIB) -o alienwave
+
+ main.o: main.c
+