diff options
author | 2010-06-01 22:16:21 +0200 | |
---|---|---|
committer | 2010-06-01 22:18:39 +0200 | |
commit | 1ae374033fe65a8cb72707850f8aa5b9c20e6a5c (patch) | |
tree | 5e9f0755a9925bc4fb233a5ec02772c5a668f37b /games-puzzle | |
parent | Set repo_name (diff) | |
download | betagarden-1ae374033fe65a8cb72707850f8aa5b9c20e6a5c.tar.gz betagarden-1ae374033fe65a8cb72707850f8aa5b9c20e6a5c.tar.bz2 betagarden-1ae374033fe65a8cb72707850f8aa5b9c20e6a5c.zip |
Migrate some ebuilds from sping overlay
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/vitetris/Manifest | 3 | ||||
-rw-r--r-- | games-puzzle/vitetris/files/vitetris-0.55-configure.patch | 11 | ||||
-rw-r--r-- | games-puzzle/vitetris/vitetris-0.57.ebuild | 55 |
3 files changed, 69 insertions, 0 deletions
diff --git a/games-puzzle/vitetris/Manifest b/games-puzzle/vitetris/Manifest new file mode 100644 index 0000000..bf97701 --- /dev/null +++ b/games-puzzle/vitetris/Manifest @@ -0,0 +1,3 @@ +AUX vitetris-0.55-configure.patch 333 RMD160 535a9d68502901670f06300eebb0ed8b3f8ca75a SHA1 bde066b9c682f67992434b0d93fe4197796d670c SHA256 6978eb34a4c98514d9a4a73a83009a4bc4c2dace44db225ece22b8c812e828c5 +DIST vitetris-0.57.tar.gz 100660 RMD160 0d5723f032153798d004b8ae56eb8fd0bf6eb0dc SHA1 af9d539ae208fb174db4b86e535e7e29b7ffa3cf SHA256 0c9fa6c8b16e2f8968f65e16a87f1bcd39b827d510c6efb0771f0400ab91cdc2 +EBUILD vitetris-0.57.ebuild 1111 RMD160 0212fc81b5b16cf272e2086afbdaf297ea369007 SHA1 0c15512aa67fc578e0035ae2ced263929e01d264 SHA256 52c318f7d7b1d14ae596d29230d4b26a768920fd2b70b21175e6f7d52e48a622 diff --git a/games-puzzle/vitetris/files/vitetris-0.55-configure.patch b/games-puzzle/vitetris/files/vitetris-0.55-configure.patch new file mode 100644 index 0000000..bcc1ac5 --- /dev/null +++ b/games-puzzle/vitetris/files/vitetris-0.55-configure.patch @@ -0,0 +1,11 @@ +diff -Nur vitetris-0.55.orig/configure vitetris-0.55/configure +--- vitetris-0.55.orig/configure 2008-09-05 15:59:35.000000000 +0200 ++++ vitetris-0.55/configure 2009-02-11 21:08:17.214874138 +0100 +@@ -159,7 +159,6 @@ + PCTIMER=$with ;; + *) + echo "unrecognized option \"$arg\"" +- exit 1 + esac + done + if [ -z "$ENABLE_2P" ]; then diff --git a/games-puzzle/vitetris/vitetris-0.57.ebuild b/games-puzzle/vitetris/vitetris-0.57.ebuild new file mode 100644 index 0000000..b75cd0d --- /dev/null +++ b/games-puzzle/vitetris/vitetris-0.57.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit games + +DESCRIPTION="Terminal-based Tetris clone by Victor Nilsson." +HOMEPAGE="http://victornils.net/tetris/" +SRC_URI="http://victornils.net/tetris/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="X allegro joystick ncurses net" + +DEPEND="sys-libs/glibc + allegro? ( media-libs/allegro ) + ncurses? ( sys-libs/ncurses ) + X? ( x11-libs/libX11 )" +RDEPEND="" + +src_prepare() { + sed -i \ + -e "s|-strip --strip-all|echo|" \ + -e "s|PROGNAME = tetris|PROGNAME = vitetris|" \ + Makefile || die "sed Makefile failed" + + epatch "${FILESDIR}"/${PN}-0.55-configure.patch +} + +src_configure() { + egamesconf \ + $(use_enable X xlib) \ + $(use_enable joystick js) \ + $(use_enable ncurses curses) \ + $(use_enable net network) \ + || die "egamesconf failed" +} + +src_compile() { + emake \ + LDFLAGS="${LDFLAGS}" \ + CCFLAGS="${CXXFLAGS}" \ + || die "emake failed" +} + +src_install() { + dogamesbin vitetris || die "dogamesbin failed" + + dodoc README || die "dodoc failed" + + prepgamesdirs +} |