diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2009-11-05 18:31:24 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2009-11-05 18:31:24 +0000 |
commit | 240da429bd541995192325b28e58d5bc80f74b8d (patch) | |
tree | 506a0b9b7b9051d2b22d16b285d1a2fed5766c25 /games-puzzle/biniax2/biniax2-1.30.ebuild | |
parent | Add ~ia64/~sparc wrt #289839 (diff) | |
download | gentoo-2-240da429bd541995192325b28e58d5bc80f74b8d.tar.gz gentoo-2-240da429bd541995192325b28e58d5bc80f74b8d.tar.bz2 gentoo-2-240da429bd541995192325b28e58d5bc80f74b8d.zip |
Initial commit
(Portage version: 2.2_rc48/cvs/Linux x86_64)
Diffstat (limited to 'games-puzzle/biniax2/biniax2-1.30.ebuild')
-rw-r--r-- | games-puzzle/biniax2/biniax2-1.30.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/games-puzzle/biniax2/biniax2-1.30.ebuild b/games-puzzle/biniax2/biniax2-1.30.ebuild new file mode 100644 index 000000000000..375fde0e420b --- /dev/null +++ b/games-puzzle/biniax2/biniax2-1.30.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/biniax2/biniax2-1.30.ebuild,v 1.1 2009/11/05 18:31:24 nyhm Exp $ + +EAPI=2 +inherit eutils games + +DESCRIPTION="Logic game with arcade and tactics modes" +HOMEPAGE="http://biniax.com/" +SRC_URI="http://mordred.dir.bg/biniax/${P}-fullsrc.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl + media-libs/sdl-image[png] + media-libs/sdl-mixer[mikmod]" + +S=${WORKDIR} + +src_prepare() { + rm -f data/Thumbs.db + sed -i \ + -e "s:data/:${GAMES_DATADIR}/${PN}/:" \ + desktop/{gfx,snd}.c \ + || die "sed failed" + epatch \ + "${FILESDIR}"/${P}-build.patch \ + "${FILESDIR}"/${P}-dotfiles.patch +} + +src_install() { + dogamesbin ${PN} || die "dogamesbin failed" + insinto "${GAMES_DATADIR}"/${PN} + doins -r data/* || die "doins failed" + doicon "${FILESDIR}"/${PN}.xpm + make_desktop_entry ${PN} Biniax-2 + prepgamesdirs +} |