diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 19:29:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 19:29:22 +0000 |
commit | f0759f77429dfcff11fdeb040d0553dd1e8e0bd8 (patch) | |
tree | bc451cfc4f19d245b0c6a7f10e547fdc2006db52 /games-arcade/emilia-pinball/emilia-pinball-0.3.0.ebuild | |
parent | action games ! (diff) | |
download | gentoo-2-f0759f77429dfcff11fdeb040d0553dd1e8e0bd8.tar.gz gentoo-2-f0759f77429dfcff11fdeb040d0553dd1e8e0bd8.tar.bz2 gentoo-2-f0759f77429dfcff11fdeb040d0553dd1e8e0bd8.zip |
arcade games !
Diffstat (limited to 'games-arcade/emilia-pinball/emilia-pinball-0.3.0.ebuild')
-rw-r--r-- | games-arcade/emilia-pinball/emilia-pinball-0.3.0.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/games-arcade/emilia-pinball/emilia-pinball-0.3.0.ebuild b/games-arcade/emilia-pinball/emilia-pinball-0.3.0.ebuild new file mode 100644 index 000000000000..012f7cb7a681 --- /dev/null +++ b/games-arcade/emilia-pinball/emilia-pinball-0.3.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit games + +MY_PN=${PN/emilia-/} +MY_P=${MY_PN}-${PV} +DESCRIPTION="SDL OpenGL pinball game" +HOMEPAGE="http://pinball.sourceforge.net/" +SRC_URI="mirror://sourceforge/pinball/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +DEPEND="virtual/opengl + virtual/x11 + media-libs/libsdl + media-libs/sdl-image + media-libs/sdl-mixer" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + export WANT_AUTOCONF_2_5=1 + cd ${S}/libltdl + autoconf || die +} + +src_compile() { + egamesconf \ + --with-x \ + --with-buildroot-prefix=${D} \ + || die + make CXXFLAGS="${CXXFLAGS}" || die +} + +src_install() { + dodoc AUTHORS Changelog INSTALL NEWS README + make DESTDIR=${D} install || die + dosym ${GAMES_BINDIR}/pinball ${GAMES_BINDIR}/emilia-pinball + rm -rf ${D}/${GAMES_PREFIX}/include + rm -f ${D}/${GAMES_BINDIR}/pinball-config + prepgamesdirs +} |