diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-14 19:10:47 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-14 19:10:47 +0000 |
commit | b910bc53afe39f361f88036d6e905720cf14db80 (patch) | |
tree | 2e3ed8e8b84a36d6b0c4f90f1222cf08c44daac1 /games-arcade | |
parent | 1.11.15 stable on all archs (security update) (Manifest recommit) (diff) | |
download | gentoo-2-b910bc53afe39f361f88036d6e905720cf14db80.tar.gz gentoo-2-b910bc53afe39f361f88036d6e905720cf14db80.tar.bz2 gentoo-2-b910bc53afe39f361f88036d6e905720cf14db80.zip |
initial commit; ebuild by Alexandru Toma via bug #47431
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/rockdodger/ChangeLog | 10 | ||||
-rw-r--r-- | games-arcade/rockdodger/Manifest | 2 | ||||
-rw-r--r-- | games-arcade/rockdodger/files/digest-rockdodger-0.6.0a | 1 | ||||
-rw-r--r-- | games-arcade/rockdodger/metadata.xml | 5 | ||||
-rw-r--r-- | games-arcade/rockdodger/rockdodger-0.6.0a.ebuild | 54 |
5 files changed, 72 insertions, 0 deletions
diff --git a/games-arcade/rockdodger/ChangeLog b/games-arcade/rockdodger/ChangeLog new file mode 100644 index 000000000000..2506165e279c --- /dev/null +++ b/games-arcade/rockdodger/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-arcade/rockdodger +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/rockdodger/ChangeLog,v 1.1 2004/04/14 19:10:47 mr_bones_ Exp $ + +*rockdodger-0.6.0a (14 Apr 2004) + + 14 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> metadata.xml, + rockdodger-0.6.0a.ebuild: + initial commit; ebuild by Alexandru Toma via bug #47431 + diff --git a/games-arcade/rockdodger/Manifest b/games-arcade/rockdodger/Manifest new file mode 100644 index 000000000000..99c3359cf772 --- /dev/null +++ b/games-arcade/rockdodger/Manifest @@ -0,0 +1,2 @@ +MD5 f21ca79e4e30114f705564945d89b799 rockdodger-0.6.0a.ebuild 1392 +MD5 050672dcfe88d3c6f8d27c3e7ce26025 files/digest-rockdodger-0.6.0a 69 diff --git a/games-arcade/rockdodger/files/digest-rockdodger-0.6.0a b/games-arcade/rockdodger/files/digest-rockdodger-0.6.0a new file mode 100644 index 000000000000..188c9fc3fe7d --- /dev/null +++ b/games-arcade/rockdodger/files/digest-rockdodger-0.6.0a @@ -0,0 +1 @@ +MD5 dbeeabe6bbb57321ba221345d6390170 rockdodger-0.6.0a.tar.gz 410223 diff --git a/games-arcade/rockdodger/metadata.xml b/games-arcade/rockdodger/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-arcade/rockdodger/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-arcade/rockdodger/rockdodger-0.6.0a.ebuild b/games-arcade/rockdodger/rockdodger-0.6.0a.ebuild new file mode 100644 index 000000000000..fd2a61c30ef4 --- /dev/null +++ b/games-arcade/rockdodger/rockdodger-0.6.0a.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/rockdodger/rockdodger-0.6.0a.ebuild,v 1.1 2004/04/14 19:10:47 mr_bones_ Exp $ + +inherit games + +DESCRIPTION="Dodge the rocks for as long as possible until you die. Kill greeblies to make the universe safe for non-greeblie life once again." +HOMEPAGE="http://spacerocks.sourceforge.net/" +SRC_URI="mirror://sourceforge/spacerocks/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +RDEPEND=">=media-libs/libsdl-1.2.2 + >=media-libs/sdl-image-1.2 + >=media-libs/sdl-mixer-1.2" + +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +src_unpack() { + GAME_DEST_DIR="${GAMES_DATADIR}/${PN}" + unpack ${A} + cd ${S} + + # Modify highscores & data directory and add our CFLAGS to the Makefile + sed -i \ + -e "s:\./data:${GAME_DEST_DIR}:" \ + -e "s:/usr/share/rockdodger/\.highscore:${GAMES_STATEDIR}/rockdodger.scores:" \ + -e 's:umask(0111):umask(0117):' main.c \ + || die " sed main.c failed" + sed -i \ + -e "s:-g:${CFLAGS}:" Makefile \ + || die "sed Makefile failed" + + # The 512 chunksize makes the music skip + sed -i \ + -e "s:512:1024:" sound.c \ + || die "sed sound.c failed" +} + +src_install() { + dogamesbin rockdodger || die "dogamesbin failed" + insinto "${GAME_DEST_DIR}" + doins data/* || die "doins failed" + + dodir "${GAMES_STATEDIR}" + touch "${D}/${GAMES_STATEDIR}/rockdodger.scores" + fperms 660 "${GAMES_STATEDIR}/rockdodger.scores" + + prepgamesdirs +} |