diff options
author | Tristan Heaven <tristan@gentoo.org> | 2011-11-12 15:58:10 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2011-11-12 15:58:10 +0000 |
commit | 0286df2e3c0362395386aa44e1c410b88afdbe96 (patch) | |
tree | bf5bf91566afea555b679973f4c24090d60b9732 /games-sports/trigger/trigger-0.6.0.ebuild | |
parent | Version bump; remove old (diff) | |
download | historical-0286df2e3c0362395386aa44e1c410b88afdbe96.tar.gz historical-0286df2e3c0362395386aa44e1c410b88afdbe96.tar.bz2 historical-0286df2e3c0362395386aa44e1c410b88afdbe96.zip |
Version bump
Package-Manager: portage-2.2.0_alpha74/cvs/Linux x86_64
Diffstat (limited to 'games-sports/trigger/trigger-0.6.0.ebuild')
-rw-r--r-- | games-sports/trigger/trigger-0.6.0.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/games-sports/trigger/trigger-0.6.0.ebuild b/games-sports/trigger/trigger-0.6.0.ebuild new file mode 100644 index 000000000000..77a5a0ca9051 --- /dev/null +++ b/games-sports/trigger/trigger-0.6.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/trigger/trigger-0.6.0.ebuild,v 1.1 2011/11/12 15:58:09 tristan Exp $ + +EAPI=2 +inherit eutils games + +MY_PN=${PN}-rally +MY_P=${MY_PN}-${PV} +DESCRIPTION="Free OpenGL rally car racing game" +HOMEPAGE="http://www.positro.net/trigger/" +SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="virtual/opengl + virtual/glu + media-libs/libsdl + media-libs/sdl-image[jpeg,png] + media-libs/sdl-mixer + media-libs/openal + media-libs/freealut + dev-games/physfs" +DEPEND="${RDEPEND} + dev-util/ftjam" + +S=${WORKDIR}/${MY_P} + +PATCHES=( "${FILESDIR}"/${P}-ldflags.patch ) + +src_configure() { + egamesconf --datadir="${GAMES_DATADIR}"/${PN} || die +} + +src_compile() { + jam -dx -qa || die "jam failed" +} + +src_install() { + dogamesbin ${PN} || die "dogamesbin failed" + insinto "${GAMES_DATADIR}"/${PN} + doins -r data/* || die "doins failed" + newicon data/textures/life_helmet.png ${PN}.png + make_desktop_entry ${PN} Trigger + dodoc doc/*.txt + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + elog "After running ${PN} for the first time, a config file is" + elog "available in ~/.trigger/trigger.config" +} |