Portage is a package management system used by Gentoo Linux
# ChangeLog for games-action/maelstrom
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-action/maelstrom/ChangeLog,v 1.19 2008/02/29 18:07:44 carlo Exp $
29 Feb 2008; Carsten Lohrke
Remove icon extension from desktop entry to match Icon Theme Specification.
25 Oct 2006;
maelstrom-3.0.6-r1.ebuild:
Fix for fail to compile on a 64 bits CPU. Bug #146153 by Randall Nortman
15 Aug 2005; Michael Sterrett
maelstrom-3.0.6-r1.ebuild:
tidy; use DESTDIR; quoting
15 Aug 2005; Chris Gianelloni
maelstrom-3.0.6-r1.ebuild:
Fixed epatch line and closing bug #102618.
09 Aug 2005; Michael Sterrett
-files/maelstrom-3.0.6-security.patch, -maelstrom-3.0.5.ebuild,
-maelstrom-3.0.6.ebuild:
clean old versions
28 Dec 2004; Ciaran McCreesh
Change encoding to UTF-8 for GLEP 31 compliance
31 Aug 2004; Karol Wojtaszek
maelstrom-3.0.6-r1.ebuild:
Fixed gcc-3.4 compile problems. Thanks to Mark Loeser
in bug #61831
19 Apr 2004; Chris Gianelloni
maelstrom-3.0.6-r1.ebuild, maelstrom-3.0.6.ebuild:
Added IUSE.
12 Dec 2003; Jon Portnoy
AMD64 keywords.
*maelstrom-3.0.6-r1 (24 Oct 2003)
24 Oct 2003; Michael Sterrett
maelstrom-3.0.6-r1.ebuild, files/maelstrom-3.0.6-r1-security.patch:
move high score file to ${GAMES_STATEDIR}; move data to $(datadir); more error
checking; use sed-4; clean doc install; remove Makefile cruft in Images/; more
games eclass usage
19 Oct 2003; Chris Gianelloni
Closing bug #30852, again.
17 Oct 2003; Chris Gianelloni
Closed bug #30852.
09 Oct 2003; Chris Gianelloni
Added menu entry. Closing bug #30618
06 Oct 2003; Aron Griffis
Stable on alpha
*maelstrom-3.0.6 (22 May 2003)
22 May 2003; Daniel Ahlberg
Security update.
*maelstrom-3.0.5 (26 Apr 2002)
05 Mar 2003; Bartosch Pixa
set ~ppc in keywords
17 jul 2002; Jose Alberto Suárez López
Added LICENSE, KEYWORDS, SLOT.
26 Apr 2002; Seemant Kulleen
files/digest-maelstrom-3.0.5 :
New game.
AUX maelstrom-3.0.6-64bits.patch 499 RMD160 6d2d4e10f2f0dd68d175becdc876b472d1bdcd7e SHA1 3156c1607727b2dcf9b946b60db3053f650dddef SHA256 6fd7a7cab4f89ec00b123758f4d6a82e930c2a6632ffa00c3172f6c076d7015a
AUX maelstrom-3.0.6-r1-security.patch 14189 RMD160 7509c96a2ee3f91f32824e640bec00c11019adfd SHA1 9bbb7d90620551cdebafb51cf548660e8e153372 SHA256 977d7558b094037ad82177d56ac897e376714e939568b0925ad28708aad6099f
AUX maelstrom-gcc34.patch 878 RMD160 dfa90264cbd1f3cb4aca724c7b566b7d96169971 SHA1 60ebcb0e541fe6d3fe9fbd12f32f7b31c68de913 SHA256 38a0a869c60e32d2873f536badd28e45f1908027d4e40936f533da2c0741dc3a
DIST Maelstrom-3.0.6.tar.gz 1007421 RMD160 9415324e96fdccfc5ff5c453e886d0ce28956c13 SHA1 28b273615d1c375e532d375a4a407a99af63e283 SHA256 bb6ca1952d1080e25f8716a2d08a4241614ee72d54f13c8a60eecadf7ea6198d
EBUILD maelstrom-3.0.6-r1.ebuild 1907 RMD160 a182e1480671afd3417612a09665f9fef58ac853 SHA1 ce4042ec0b244b68efa0e4f6335c46b1cdc483c6 SHA256 fd9c2072ca115dbfdcb1c6e85d15a74ba9ad8b90faf94f1187a997ec1203772b
MISC ChangeLog 2751 RMD160 306fd2432a2bdeedcb45d5c5b2d928b1d02c677a SHA1 212125cd6114e51dc9a7dc27ee2c228d3b8bde5a SHA256 d10ad5b6ea09a98887979731d7cfac6814d2eeb665c31cf89ec79ef3e156591a
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-action/maelstrom/maelstrom-3.0.6-r1.ebuild,v 1.10 2008/02/29 18:07:44 carlo Exp $
inherit eutils games
MY_P=Maelstrom-${PV}
DESCRIPTION="An asteroids battle game"
SRC_URI="http://www.devolution.com/~slouken/Maelstrom/src/${MY_P}.tar.gz"
HOMEPAGE="http://www.devolution.com/~slouken/Maelstrom/"
KEYWORDS="alpha amd64 ppc x86"
SLOT="0"
LICENSE="GPL-2"
IUSE=""
DEPEND=">=media-libs/libsdl-1.1.5
>=media-libs/sdl-net-1.2.2"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
epatch \
"${FILESDIR}"/${PF}-security.patch \
"${FILESDIR}"/${P}-64bits.patch \
"${FILESDIR}"/${PN}-gcc34.patch
# Install the data into $(datadir)/..., not $(prefix)/games/...
sed -i \
-e "s:(prefix)/games/:(datadir)/:" configure \
|| die "sed failed"
sed -i \
-e '/make install_gamedata/s:=:=$(DESTDIR)/:' \
Makefile.in \
|| die "sed failed"
# Install the high scores file in ${GAMES_STATEDIR}
sed -i \
-e "s:path.Path(MAELSTROM_SCORES):\"${GAMES_STATEDIR}/\"MAELSTROM_SCORES:" \
scores.cpp \
|| die "sed failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc Changelog README* Docs/{Maelstrom-Announce,*FAQ,MaelstromGPL_press_release,*.Paper,Technical_Notes*}
newicon "${D}${GAMES_DATADIR}"/Maelstrom/icon.xpm maelstrom.xpm
make_desktop_entry Maelstrom "Maelstrom" maelstrom
# Put the high scores file in the right place
insinto "${GAMES_STATEDIR}"
doins "${D}${GAMES_DATADIR}"/Maelstrom/Maelstrom-Scores || die "doins failed"
# clean up some cruft
rm -f \
"${D}${GAMES_DATADIR}"/Maelstrom/Maelstrom-Scores \
"${D}${GAMES_DATADIR}"/Maelstrom/Images/Makefile*
# make sure we can update the high scores
fperms 664 "${GAMES_STATEDIR}"/Maelstrom-Scores || die "fperms failed"
prepgamesdirs
}