diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2006-04-19 20:30:25 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2006-04-19 20:30:25 +0000 |
commit | 61bf0d3333688ba5791af4e9b25b100d492b7f81 (patch) | |
tree | e380dd2242b2abd38b5a4eae13c331c566d00912 /games-puzzle/ngstar/ngstar-2.1.8-r1.ebuild | |
parent | Added ~amd64 keyword. (diff) | |
download | gentoo-2-61bf0d3333688ba5791af4e9b25b100d492b7f81.tar.gz gentoo-2-61bf0d3333688ba5791af4e9b25b100d492b7f81.tar.bz2 gentoo-2-61bf0d3333688ba5791af4e9b25b100d492b7f81.zip |
Fixing path, bug #130504
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'games-puzzle/ngstar/ngstar-2.1.8-r1.ebuild')
-rw-r--r-- | games-puzzle/ngstar/ngstar-2.1.8-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/games-puzzle/ngstar/ngstar-2.1.8-r1.ebuild b/games-puzzle/ngstar/ngstar-2.1.8-r1.ebuild new file mode 100644 index 000000000000..a822314d0e73 --- /dev/null +++ b/games-puzzle/ngstar/ngstar-2.1.8-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2006 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-r1.ebuild,v 1.1 2006/04/19 20:30:24 tupone Exp $ + +inherit 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="~x86" +IUSE="" + +DEPEND="sys-libs/ncurses" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}"-gentoo-path.patch + sed -i \ + -e "s:@GENTOO_DATA@:${GAMES_DATADIR}:" \ + -e "s:@GENTOO_BIN@:${GAMES_BINDIR}:" \ + configure +} + +src_compile() { + ./configure \ + --prefix "" \ + --without-fltk2 || die "configure failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS Changelog README TODO + prepgamesdirs +} |