/[gentoo-x86]/games-action/poopmup/poopmup-1.2.ebuild
Gentoo

Contents of /games-action/poopmup/poopmup-1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.20 - (hide annotations) (download)
Thu Jan 1 20:14:18 2015 UTC (5 years, 3 months ago) by tupone
Branch: MAIN
CVS Tags: HEAD
Changes since 1.19: +8 -7 lines
EAPI 4

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0145142D)

1 tupone 1.20 # Copyright 1999-2015 Gentoo Foundation
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 tupone 1.20 # $Header: /var/cvsroot/gentoo-x86/games-action/poopmup/poopmup-1.2.ebuild,v 1.19 2010/10/11 20:43:14 mr_bones_ Exp $
4 vapier 1.1
5 tupone 1.20 EAPI=4
6 mr_bones_ 1.13 inherit eutils toolchain-funcs games
7 vapier 1.1
8     DESCRIPTION="You are now free to fly around the city and poop on passers-by"
9     HOMEPAGE="http://poopmup.sourceforge.net/"
10     SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
11    
12     LICENSE="GPL-2"
13     SLOT="0"
14 mr_bones_ 1.12 KEYWORDS="amd64 ppc x86"
15 wolf31o2 1.5 IUSE=""
16 nyhm 1.15 RESTRICT="test"
17 vapier 1.1
18 scarabeus 1.17 DEPEND="media-libs/freeglut
19 wolf31o2 1.14 x11-libs/libXi
20     x11-libs/libXmu
21 vapier 1.1 virtual/opengl"
22 tupone 1.20 RDEPEND="${DEPEND}"
23 vapier 1.1
24     S=${WORKDIR}/${PN}
25    
26 tupone 1.18 src_prepare() {
27 vapier 1.3 sed -i \
28     -e "s:textures/:${GAMES_DATADIR}/${PN}/:" \
29 mr_bones_ 1.12 includes/textureLoader.h || die "sed failed"
30 vapier 1.3 sed -i \
31     -e "s:config/:${GAMES_SYSCONFDIR}/:" \
32 mr_bones_ 1.12 myConfig.h || die "sed failed"
33     sed -i \
34     -e '/clear/d' \
35     Makefile || die "sed failed" # bug #120907
36 mr_bones_ 1.13
37 nyhm 1.16 epatch \
38     "${FILESDIR}"/${P}-freeglut.patch \
39 tupone 1.18 "${FILESDIR}"/${P}-gcc43.patch \
40     "${FILESDIR}"/${P}-ldflags.patch
41 nyhm 1.16 ecvs_clean
42 vapier 1.1 }
43    
44     src_compile() {
45 tupone 1.20 emake CC="$(tc-getCXX) ${CFLAGS}"
46 vapier 1.1 }
47    
48     src_install() {
49 tupone 1.20 newgamesbin poopmup.o poopmup
50 vapier 1.1
51 mr_bones_ 1.8 insinto "${GAMES_DATADIR}/${PN}"
52 tupone 1.20 doins textures/*
53 vapier 1.1
54 mr_bones_ 1.8 insinto "${GAMES_SYSCONFDIR}"
55 tupone 1.20 doins config/*
56 vapier 1.1
57     dodoc README docs/*.doc
58     dohtml docs/userman.htm
59    
60     prepgamesdirs
61     }

  ViewVC Help
Powered by ViewVC 1.1.20