/[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.6 - (show annotations) (download)
Fri Oct 13 17:02:16 2006 UTC (13 years, 4 months ago) by wolf31o2
Branch: MAIN
Changes since 1.5: +3 -3 lines
Added patches from Tristan Heaven <nyhm@gentoo.org> and Mike Frysinger <vapier@gentoo.org> and closing bug #132389.
(Portage version: 2.1.2_pre2-r8)

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.5 2006/10/05 11:24:45 nyhm 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