diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-08-30 23:28:30 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-08-30 23:28:30 +0000 |
commit | b731ddcb51a4ba8b6f238f10480e7207a3b09b36 (patch) | |
tree | 9c5ce32e84cfbf71dfe1e182ea66bdfd42b99517 /games-strategy/scorched3d/scorched3d-39.1.ebuild | |
parent | Added fix for perllocal.pod, closes bug #104278. (diff) | |
download | gentoo-2-b731ddcb51a4ba8b6f238f10480e7207a3b09b36.tar.gz gentoo-2-b731ddcb51a4ba8b6f238f10480e7207a3b09b36.tar.bz2 gentoo-2-b731ddcb51a4ba8b6f238f10480e7207a3b09b36.zip |
version bump
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'games-strategy/scorched3d/scorched3d-39.1.ebuild')
-rw-r--r-- | games-strategy/scorched3d/scorched3d-39.1.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/games-strategy/scorched3d/scorched3d-39.1.ebuild b/games-strategy/scorched3d/scorched3d-39.1.ebuild new file mode 100644 index 000000000000..12c95b2078c6 --- /dev/null +++ b/games-strategy/scorched3d/scorched3d-39.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/scorched3d-39.1.ebuild,v 1.1 2005/08/30 23:28:30 mr_bones_ Exp $ + +inherit wxwidgets games + +DESCRIPTION="Multi-player tank battle in 3D (OpenGL)" +HOMEPAGE="http://www.scorched3d.co.uk/" +SRC_URI="mirror://sourceforge/scorched3d/Scorched3D-${PV}-src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc x86" +IUSE="gtk2 mysql" + +DEPEND="virtual/opengl + >=media-libs/openal-20050504 + >=media-libs/libsdl-1.2.5 + >=media-libs/sdl-net-1.2.5 + =x11-libs/wxGTK-2.4* + >=media-libs/freetype-2 + mysql? ( dev-db/mysql )" + +S=${WORKDIR}/scorched + +pkg_setup() { + if use gtk2; then + need-wxwidgets gtk2 || die "You need to emerge wxGTK with USE='gtk2'" + else + need-wxwidgets gtk || die "No gtk1 version of x11-libs/wxGTK found" + fi + games_pkg_setup +} + +src_compile() { + # work around portage bug: described in bug #73527 + if use gtk2; then + need-wxwidgets gtk2 || die "You need to emerge wxGTK with USE='gtk2'" + else + need-wxwidgets gtk || die "No gtk1 version of x11-libs/wxGTK found" + fi + egamesconf \ + --disable-dependency-tracking \ + --exec_prefix="${GAMES_PREFIX}" \ + --datadir="${GAMES_DATADIR}/${PN}" \ + --with-docdir="/usr/share/doc/${PF}" \ + $(use_with mysql) \ + || die + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + prepgamesdirs +} |