diff options
author | 2007-05-21 17:24:48 +0000 | |
---|---|---|
committer | 2007-05-21 17:24:48 +0000 | |
commit | 7d83e574662e39a14aba866d43228f0244259a19 (patch) | |
tree | 0e8dc7e9fadf0116ee25ffbaee0e7662dfe2b9af /games-action/barrage/barrage-1.0.2-r1.ebuild | |
parent | Removed cvs snapshot version. (diff) | |
download | gentoo-2-7d83e574662e39a14aba866d43228f0244259a19.tar.gz gentoo-2-7d83e574662e39a14aba866d43228f0244259a19.tar.bz2 gentoo-2-7d83e574662e39a14aba866d43228f0244259a19.zip |
Add menu entry. Fix bug #159744
(Portage version: 2.1.2.2)
Diffstat (limited to 'games-action/barrage/barrage-1.0.2-r1.ebuild')
-rw-r--r-- | games-action/barrage/barrage-1.0.2-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/games-action/barrage/barrage-1.0.2-r1.ebuild b/games-action/barrage/barrage-1.0.2-r1.ebuild new file mode 100644 index 000000000000..b63cdf9768d6 --- /dev/null +++ b/games-action/barrage/barrage-1.0.2-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/barrage/barrage-1.0.2-r1.ebuild,v 1.1 2007/05/21 17:24:48 tupone Exp $ + +inherit eutils games + +DESCRIPTION="A violent point-and-click shooting game" +HOMEPAGE="http://lgames.sourceforge.net" +SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz + mirror://gentoo/${PN}.png" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND=">=media-libs/libsdl-1.2 + >=media-libs/sdl-mixer-1.2.4" + +src_unpack() { + unpack ${P}.tar.gz +} + +src_compile() { + egamesconf --datadir=${GAMES_DATADIR_BASE} || die + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS BUGS ChangeLog README + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry ${PN} Barrage ${PN}.png + rm "${D}"/usr/share/applications/${PN}.desktop + prepgamesdirs +} |