diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-03 20:13:59 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-03 20:13:59 +0000 |
commit | 1424930f384d1933c9e9048eeb0841a5745cb011 (patch) | |
tree | f9dc01f2c5351d39d003b60dd0ad59efd90248b3 /games-arcade/emilia-pinball/emilia-pinball-0.3.1.ebuild | |
parent | Stable on ia64 (diff) | |
download | gentoo-2-1424930f384d1933c9e9048eeb0841a5745cb011.tar.gz gentoo-2-1424930f384d1933c9e9048eeb0841a5745cb011.tar.bz2 gentoo-2-1424930f384d1933c9e9048eeb0841a5745cb011.zip |
ver bump #35900
Diffstat (limited to 'games-arcade/emilia-pinball/emilia-pinball-0.3.1.ebuild')
-rw-r--r-- | games-arcade/emilia-pinball/emilia-pinball-0.3.1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/games-arcade/emilia-pinball/emilia-pinball-0.3.1.ebuild b/games-arcade/emilia-pinball/emilia-pinball-0.3.1.ebuild new file mode 100644 index 000000000000..0942da11f779 --- /dev/null +++ b/games-arcade/emilia-pinball/emilia-pinball-0.3.1.ebuild @@ -0,0 +1,42 @@ +# 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" +RESTRICT="nomirror" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 alpha" + +DEPEND="virtual/opengl + virtual/x11 + media-libs/libsdl + media-libs/sdl-image + media-libs/sdl-mixer" + +S=${WORKDIR}/${MY_P} + +src_compile() { + egamesconf \ + --with-x \ + || die + emake -j1 CXXFLAGS="${CXXFLAGS}" || die +} + +src_install() { + dodoc INSTALL README + make DESTDIR=${D} install || die + dosym ${GAMES_BINDIR}/pinball ${GAMES_BINDIR}/emilia-pinball + mv ${D}/${GAMES_PREFIX}/include ${D}/usr/ + dodir /usr/bin + mv ${D}/${GAMES_BINDIR}/pinball-config ${D}/usr/bin/ + dosed 's:-I${prefix}/include/pinball:-I/usr/include/pinball:' /usr/bin/pinball-config + prepgamesdirs +} |