diff options
Diffstat (limited to 'games-action/luola/luola-1.2.7.ebuild')
-rw-r--r-- | games-action/luola/luola-1.2.7.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/games-action/luola/luola-1.2.7.ebuild b/games-action/luola/luola-1.2.7.ebuild new file mode 100644 index 000000000000..389344eb617a --- /dev/null +++ b/games-action/luola/luola-1.2.7.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/luola/luola-1.2.7.ebuild,v 1.1 2005/05/09 00:09:33 mr_bones_ Exp $ + +inherit eutils games + +DESCRIPTION="A 2D multiplayer arcade game resembling V-Wing" +HOMEPAGE="http://www.saunalahti.fi/~laakkon1/linux/luola/index.php" +SRC_URI="http://www.saunalahti.fi/~laakkon1/linux/luola/bin/${P}.tar.gz + http://www.saunalahti.fi/~laakkon1/linux/luola/bin/stdlevels.tar.gz + http://www.saunalahti.fi/~laakkon1/linux/luola/bin/nostalgy.tar.gz + http://www.saunalahti.fi/~laakkon1/linux/luola/bin/demolevel.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND="media-libs/libsdl + media-libs/sdl-gfx + media-libs/sdl-image + media-libs/sdl-mixer + media-libs/sdl-ttf" + +src_unpack() { + unpack ${A} + mv "${WORKDIR}/README.Nostalgy" "${S}" || die "mv failed" + sed -i -e '/PACKAGE_DATA_DIR/s:${\(ac_default_\)\?prefix}/::' \ + "${S}/configure" \ + || die "sed failed" +} + +src_compile() { + egamesconf \ + --enable-sound || die + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodir "${GAMES_DATADIR}/${PN}/levels" + cp "${WORKDIR}/"*.{lev,png,jpg} "${D}${GAMES_DATADIR}/${PN}/levels" + dodoc AUTHORS ChangeLog DATAFILE FAQ LEVELFILE README* TODO + doicon luola.png + make_desktop_entry luola Luola + prepgamesdirs +} |