blob: 8dfe27d8c58c5b37daca8f9b03268a9abf875f26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/gemrb-0.5.1.ebuild,v 1.2 2009/10/25 15:20:02 maekke Exp $
EAPI=2
inherit autotools eutils games
DESCRIPTION="Reimplementation of the Infinity engine"
HOMEPAGE="http://gemrb.sourceforge.net/"
SRC_URI="mirror://sourceforge/gemrb/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc"
DEPEND=">=media-libs/libsdl-1.2
sys-libs/zlib
media-libs/libvorbis
media-libs/libpng
media-libs/openal
>=dev-lang/python-2.3"
src_prepare() {
sed -i \
-e 's|\$(bindir)/plugins/|\$(libdir)/|' \
Makefile.am \
|| die "sed failed"
sed -i \
-e '/NullSound/d' \
gemrb/plugins/Makefile.am \
|| die "sed failed"
sed -i \
-e '/sysconf_DATA = /d' \
gemrb/Makefile.am \
|| die "sed failed"
eautoreconf
}
src_configure() {
egamesconf \
--disable-dependency-tracking \
--docdir="/usr/share/doc/${PF}"
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
diropts -m0775 -g ${GAMES_GROUP}
keepdir "/var/cache/gemrb"
dodoc "${FILESDIR}/GemRB.cfg.sample" README AUTHORS
prepgamesdirs
}
|