/[gentoo-x86]/games-fps/avp/avp-20031110.ebuild
Gentoo

Contents of /games-fps/avp/avp-20031110.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon Mar 5 23:32:50 2007 UTC (12 years, 11 months ago) by nyhm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
rm old version
(Portage version: 2.1.2.1)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-fps/avp/avp-20031110.ebuild,v 1.6 2006/10/13 17:02:16 wolf31o2 Exp $
4
5 #ECVS_SERVER="icculus.org:/cvs/cvsroot"
6 ECVS_PASS="anonymous"
7 ECVS_MODULE="avp"
8 #inherit eutils cvs games
9 inherit eutils multilib games
10
11 DESCRIPTION="Linux port of Aliens vs Predator"
12 HOMEPAGE="http://www.icculus.org/avp/"
13 SRC_URI="mirror://gentoo/avp-${PV}.tar.bz2"
14
15 LICENSE="AvP"
16 SLOT="0"
17 KEYWORDS="x86"
18 IUSE=""
19
20 DEPEND="media-libs/openal
21 media-libs/libsdl"
22
23 S=${WORKDIR}/${ECVS_MODULE}
24
25 src_unpack() {
26 # if [ "${ECVS_SERVER}" == "offline" ] ; then
27 unpack ${A}
28 # else
29 # cvs_src_unpack
30 # fi
31
32 cd "${S}"
33
34 sed -i \
35 -e "/^CFLAGS =/s:=.*:=${CFLAGS}:" Makefile \
36 || die "sed Makefile failed"
37 epatch "${FILESDIR}/${P}-gcc34.patch"
38 epatch "${FILESDIR}/${P}-cleanup.patch"
39 epatch "${FILESDIR}/${P}-gentoo.patch"
40 }
41
42 src_install() {
43 dogamesbin AvP || die "dogamesbin failed"
44 dodoc README TODO
45 prepgamesdirs
46 }
47
48 pkg_postinst() {
49 games_pkg_postinst
50 einfo "please follow the instructions in"
51 einfo "/usr/share/doc/${PF}/README.gz"
52 einfo "to install the rest of the game"
53 }

  ViewVC Help
Powered by ViewVC 1.1.20