ChangeLog

# ChangeLog for games-puzzle/ngstar
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ngstar/ChangeLog,v 1.7 2008/05/02 19:44:34 nyhm Exp $

02 May 2008; Tristan Heaven
+files/ngstar-2.1.8-gcc43.patch, ngstar-2.1.8-r2.ebuild:
Fix building with gcc-4.3

10 Jun 2007; Tristan Heaven ngstar-2.1.8-r2.ebuild:
Add missing sys-libs/gpm dep

29 Jun 2006; Chris Gianelloni
ngstar-2.1.8-r2.ebuild:
Fixed binaries being pre-stripped. Thanks to Tristan Heaven
for the patch. Closing bug #137720.

*ngstar-2.1.8-r2 (01 Jun 2006)

01 Jun 2006; -ngstar-2.1.8-r1.ebuild,
+ngstar-2.1.8-r2.ebuild:
Fixing compiler flags, bug 130504 by Alexandru Toma

23 Apr 2006; ngstar-2.1.8-r1.ebuild:
Forgot to inherit eutils.

*ngstar-2.1.8-r1 (19 Apr 2006)

19 Apr 2006; +files/ngstar-2.1.8-gentoo-path.patch,
+ngstar-2.1.8-r1.ebuild:
Fixing install path, bug #130504 by Alexandru Toma

*ngstar-2.1.8 (11 Apr 2006)

11 Apr 2006; +metadata.xml, +ngstar-2.1.8.ebuild:
Initial import. Ebuild submitted by Alexandru Toma, bug #66294

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX ngstar-2.1.8-gcc43.patch 208 RMD160 7faeac72ec763882ee3bf967c7aa2d47fb1d3af0 SHA1 61ae648e24d2eb9d2de7ca97c133f242b673329b SHA256 627a182a862cfa5623f81707b8f41d6e1f2410fbe13a660d69e21e94abc488fe
AUX ngstar-2.1.8-gentoo-path.patch 534 RMD160 b70dbfb7e719739cf6e6bdb0cadb6b78cf832f48 SHA1 f02021ee4198445794bf37a8ab6eb5a1eb0b260f SHA256 32d0998b7f9416995a30c8b448040d3427c1e59ce66c9d25495ac3d909e8f45a
DIST ngstar-2.1.8-src.tar.bz2 45851 RMD160 6b31bcbf0c5bcf385bca391fd9dea92e207e7321 SHA1 cff5ed2d53e2722a479804c81cd0f6d7c2694bee SHA256 c8a2cf84d2a4bb40280d4ce307ceaed8f97d2183f79f7a82b38b78aaedb73fb3
EBUILD ngstar-2.1.8-r2.ebuild 1167 RMD160 389898b79982b2fd8e51764ee85b7ad145c4d2be SHA1 aaba352f1d6ab2cd4022edb19ecdb997c2f33d8e SHA256 044c854e2df282c9395469fd2fd7997ec83011768134e39ba7296d2e87bb57c9
MISC ChangeLog 1272 RMD160 64200ea0397ba41783473b6aa7a4e0b9e8ea5550 SHA1 ed23276b1bcc23bf21e43fc0441162c28fda509f SHA256 a5b22f9c73098b78341b0c3fe44035013aa936df8acf3479d0c3129a135e0d60
MISC metadata.xml 442 RMD160 43e82d19b4aa5d88c93e1e0084d96ab1b3d89989 SHA1 81183c35f178ad7c125b6b2384a1cd2ccfd5b518 SHA256 f363cdb47a1e0f84e72df3275cb8f5540924558aab077551c9709adcbe92920d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkgbbygACgkQdz7hIScOURE0VACg6hM214I5gCdguqqzYWTgLM4/
tg4AoMh/qjGtQZpn1T6VXV5CMUyl1aXd
=E7j/
-----END PGP SIGNATURE-----

files

metadata.xml




games

NGStar is a clone of a HP48 game called dstar.
The goal is to catch all gifts in the level to get access to the next one.
Use the ball to catch them, use the cube to stop the ball. The ball only move
to the next obstacle (wall or cube).

ngstar-2.1.8-r2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild,v 1.5 2008/05/02 19:44:34 nyhm Exp $

inherit eutils games

DESCRIPTION="NGStar is a clone of a HP48 game called dstar"
HOMEPAGE="http://cycojesus.free.fr/faire/coder/jouer/ng-star/"
SRC_URI="http://cycojesus.free.fr/faire/coder/jouer/ng-star/files/${P}-src.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE=""

DEPEND="sys-libs/ncurses
sys-libs/gpm"

src_unpack() {
unpack ${A}
cd "${S}"
epatch \
"${FILESDIR}"/${P}-gentoo-path.patch \
"${FILESDIR}"/${P}-gcc43.patch
sed -i \
-e "s:@GENTOO_DATA@:${GAMES_DATADIR}:" \
-e "s:@GENTOO_BIN@:${GAMES_BINDIR}:" \
-e "/^CPPFLAGS/s:+=:+= ${CXXFLAGS}:" \
configure || die "sed configure failed"
sed -i '/strip/d' src/Makefile || die "sed makefile failed"
}

src_compile() {
./configure \
--prefix "" \
--without-fltk2 || die "configure failed"
emake || die "emake failed"
}

src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS Changelog README TODO
prepgamesdirs
}