-
Notifications
You must be signed in to change notification settings - Fork 5
/
iris-0.6.5.ebuild
66 lines (48 loc) · 1.69 KB
/
iris-0.6.5.ebuild
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils games
DESCRIPTION="Ultima Iris is an open source, fully 3D client for the MMORPG Ultim
a Online."
HOMEPAGE="http://ultimairis.sourceforge.net/"
SRC_URI="http://cvs.sourceforge.net/cvstarballs/ultimairis-cvsroot.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND=">=media-libs/libsdl-1.2.7-r3
>=media-libs/sdl-image-1.2.3-r1
>=media-libs/sdl-mixer-1.2.5-r1
>=media-libs/sdl-net-1.2.5
>=media-libs/sdl-ttf-2.0.6"
#RDEPEND=""
S="${WORKDIR}/ultimairis/ui5"
pkg_setup() {
games_pkg_setup
}
src_unpack() {
unpack ultimairis-cvs-snapshot.tar.gz
}
src_compile() {
# This kills the nasty .v extension CVS puts on everything.
# It should probably go somewhere else, but I don't care enough to find out where.
einfe "The following command is probably going to cause some errors. Ignore them"
find . -name "*,v" -exec sh -c 'mv $0 `echo $0 | sed s/,v$//`' {} \;
einfo "There, the command is done. Any more errors are now your problem."
econf || die "econf failed"
emake || die "emake failed"
}
src_install() {
make -C src \
DEBUGCFLAGS= \
CFLAGS="${CFLAGS}" \
bindir="${D}${GAMES_BINDIR}" \
datadir="${D}/usr/share" \
libdir="${D}${GAMES_LIBDIR}" \
install || die "make install failed"
einfo "Please note, to run Iris you need the data files"
einfo "from the official client, Ultima Online: Third Dawn."
einfo "Remember to edit config.xml to tell Iris where to"
einfo "find the data files."
prepgamesdirs
}