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

Contents of /games-fps/avp/avp-20070130-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Feb 24 06:57:52 2015 UTC (4 years, 11 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-fps/avp/avp-20070130-r2.ebuild,v 1.2 2014/07/03 20:29:50 axs Exp $
4
5 EAPI=5
6 inherit eutils games
7
8 DESCRIPTION="Linux port of Aliens vs Predator"
9 HOMEPAGE="http://www.icculus.org/avp/"
10 SRC_URI="mirror://gentoo/${P}.tar.bz2"
11
12 LICENSE="AvP"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE=""
16
17 RDEPEND="|| (
18 (
19 >=media-libs/openal-1.15.1[abi_x86_32(-)]
20 >=media-libs/libsdl-1.2.15-r4[video,joystick,opengl,abi_x86_32(-)]
21 )
22 amd64? ( app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)] )
23 )"
24 DEPEND="${RDEPEND}
25 virtual/pkgconfig"
26
27 S=${WORKDIR}/${PN}
28
29 src_prepare() {
30 epatch \
31 "${FILESDIR}"/${P}-gcc42.patch \
32 "${FILESDIR}"/${P}-glibc2.10.patch
33 sed -i \
34 -e '/^CC /s:=:?=:' \
35 -e '/^CXX /s:=:?=:' \
36 -e "/^CFLAGS/s/-g.*/${CFLAGS}/" \
37 -e "/^LDLIBS/s/$/${LDFLAGS}/" \
38 -e "s:openal-config:pkg-config openal:" \
39 Makefile \
40 || die "sed failed"
41 }
42
43 src_install() {
44 newgamesbin AvP.bin AvP || die "newgamesbin failed"
45 dodoc README TODO
46 prepgamesdirs
47 }
48
49 pkg_postinst() {
50 games_pkg_postinst
51 elog "please follow the instructions in"
52 elog "/usr/share/doc/${PF}"
53 elog "to install the rest of the game"
54 }

  ViewVC Help
Powered by ViewVC 1.1.20