/[gentoo-x86]/games-action/abuse/abuse-0.8.ebuild
Gentoo

Contents of /games-action/abuse/abuse-0.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Oct 4 22:27:47 2011 UTC (2 years, 9 months ago) by josejx
Branch: MAIN
Changes since 1.4: +2 -2 lines
Marked ppc stable for bug #375327.

(Portage version: 2.1.10.20/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-action/abuse/abuse-0.8.ebuild,v 1.4 2011/08/07 14:27:37 armin76 Exp $
4
5 EAPI=2
6 inherit autotools eutils games
7
8 DESCRIPTION="port of Abuse by Crack Dot Com"
9 HOMEPAGE="http://abuse.zoy.org/"
10 SRC_URI="http://abuse.zoy.org/raw-attachment/wiki/download/${P}.tar.gz"
11
12 LICENSE="GPL-2 WTFPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86"
15 IUSE=""
16
17 DEPEND=">=media-libs/libsdl-1.1.6[audio,opengl,video]
18 media-libs/sdl-mixer
19 virtual/opengl"
20
21 src_prepare() {
22 epatch "${FILESDIR}"/${P}-gentoo.patch
23 eautoreconf
24 }
25
26 src_configure() {
27 egamesconf \
28 --disable-dependency-tracking \
29 --with-assetdir="${GAMES_DATADIR}/${PN}"
30 }
31
32 src_install() {
33 # Source-based install
34 emake DESTDIR="${D}" install || die
35 dodoc AUTHORS ChangeLog NEWS README TODO
36
37 doicon doc/${PN}.png
38 make_desktop_entry abuse Abuse
39
40 prepgamesdirs
41 }
42
43 pkg_postinst() {
44 games_pkg_postinst
45 elog "NOTE: If you had previous version of abuse installed"
46 elog "you may need to remove ~/.abuse for the game to work correctly."
47 }

  ViewVC Help
Powered by ViewVC 1.1.20