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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Mar 27 10:16:59 2015 UTC (4 years, 9 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #544628

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-fps/avp/avp-20150214.ebuild,v 1.2 2015/03/27 09:11:46 ago Exp $
4
5 EAPI=5
6 inherit eutils cmake-utils games
7
8 DESCRIPTION="Linux port of Aliens vs Predator"
9 HOMEPAGE="http://www.icculus.org/avp/"
10 SRC_URI="http://www.icculus.org/avp/files/${P}.tar.gz"
11
12 LICENSE="AvP"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE=""
16
17 RDEPEND="media-libs/openal
18 media-libs/libsdl[video,joystick,opengl]"
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig"
21
22 CMAKE_BUILD_TYPE=Release
23
24 src_configure() {
25 local mycmakeargs=(
26 "-DCMAKE_VERBOSE_MAKEFILE=TRUE"
27 -DSDL_TYPE=SDL
28 -DOPENGL_TYPE=OPENGL
29 "-DINSTALL_PREFIX=${GAMES_PREFIX}"
30 "-DINSTALL_DATADIR=${GAMES_DATADIR}/${PN}"
31 "-DINSTALL_BINDIR=${GAMES_BINDIR}"
32 )
33
34 cmake-utils_src_configure
35 }
36
37 src_compile() {
38 cmake-utils_src_compile
39 }
40
41 src_install() {
42 dogamesbin "${BUILD_DIR}/${PN}"
43 dodoc README
44 prepgamesdirs
45 }
46
47 pkg_postinst() {
48 games_pkg_postinst
49 elog "Please follow the instructions in /usr/share/doc/${PF}"
50 elog "to install the rest of the game."
51 }

  ViewVC Help
Powered by ViewVC 1.1.20