diff options
Diffstat (limited to 'games-puzzle/fish-fillets/fish-fillets-0.7.3.ebuild')
-rw-r--r-- | games-puzzle/fish-fillets/fish-fillets-0.7.3.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/games-puzzle/fish-fillets/fish-fillets-0.7.3.ebuild b/games-puzzle/fish-fillets/fish-fillets-0.7.3.ebuild new file mode 100644 index 000000000000..9a48fde6d487 --- /dev/null +++ b/games-puzzle/fish-fillets/fish-fillets-0.7.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fish-fillets/fish-fillets-0.7.3.ebuild,v 1.1 2005/10/05 22:21:05 mr_bones_ Exp $ + +inherit eutils games + +DATA_PV="0.7.1" +DESCRIPTION="Underwater puzzle game - find a safe way out" +HOMEPAGE="http://fillets.sf.net" +SRC_URI="mirror://sourceforge/fillets/fillets-ng-${PV}.tar.gz + mirror://sourceforge/fillets/fillets-ng-data-${DATA_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc x86" +IUSE="" + +DEPEND=">=media-libs/libsdl-1.2 + >=media-libs/sdl-mixer-1.2.5 + >=media-libs/sdl-image-1.2.2 + media-libs/sdl-ttf + >=dev-lang/lua-5" + +S=${WORKDIR}/fillets-ng-${PV} + +src_compile() { + CPPFLAGS="-DSYSTEM_DATA_DIR=\"\\\"${GAMES_DATADIR}/${PN}\\\"\"" \ + egamesconf \ + --with-lua="/usr" || die + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog NEWS README TODO + dodir "${GAMES_DATADIR}/${PN}" + cd ../fillets-ng-data-${DATA_PV} + cp -r font music sound doc images script "${D}${GAMES_DATADIR}/${PN}" \ + || die "cp failed" + newicon images/icon.png fillets.png + make_desktop_entry fillets FishFillets fillets.png + prepgamesdirs +} |