Lines 1-10
Link Here
|
1 |
# Copyright 1999-2011 Gentoo Foundation |
1 |
# Copyright 1999-2012 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI=3 |
5 |
EAPI=4 |
6 |
|
6 |
|
7 |
inherit eutils games |
7 |
inherit eutils unpacker games |
8 |
|
8 |
|
9 |
MY_PN="OilRush" |
9 |
MY_PN="OilRush" |
10 |
|
10 |
|
Lines 47-53
Link Here
|
47 |
|
47 |
|
48 |
src_prepare() { |
48 |
src_prepare() { |
49 |
# Take version specific params from launcher: |
49 |
# Take version specific params from launcher: |
50 |
LAUNCHER_MAIN="data/launcher/js/launcher.js" |
50 |
LAUNCHER_MAIN="data/launcher/js/run.launchers.oilrush.js" |
51 |
LAUNCHER_DIRECT_PARAMS="system_script extern_plugin" |
51 |
LAUNCHER_DIRECT_PARAMS="system_script extern_plugin" |
52 |
LAUNCHER_CONSOLE_CMD="world_load" |
52 |
LAUNCHER_CONSOLE_CMD="world_load" |
53 |
PARAMS="" |
53 |
PARAMS="" |
Lines 118-125
Link Here
|
118 |
|
118 |
|
119 |
einfo " Installing game data files ..." |
119 |
einfo " Installing game data files ..." |
120 |
doins -r "data" || die "doins game data files failed" |
120 |
doins -r "data" || die "doins game data files failed" |
121 |
# Changing config name allow us to keep settings through versions in an easy way. |
|
|
122 |
newins "${P}.cfg" "${PN}.cfg" || die "newins \"${P}.cfg\" failed" |
123 |
|
121 |
|
124 |
|
122 |
|
125 |
# Install libraries and executables |
123 |
# Install libraries and executables |
Lines 127-137
Link Here
|
127 |
|
125 |
|
128 |
if use amd64 |
126 |
if use amd64 |
129 |
then |
127 |
then |
130 |
local suff="x64d" |
128 |
local suff="x64" |
131 |
fi |
129 |
fi |
132 |
if use x86 |
130 |
if use x86 |
133 |
then |
131 |
then |
134 |
local suff="x86d" |
132 |
local suff="x86" |
135 |
fi |
133 |
fi |
136 |
|
134 |
|
137 |
exeinto "${GAMEDIR}/lib" || die "exeinto \"lib\" failed" |
135 |
exeinto "${GAMEDIR}/lib" || die "exeinto \"lib\" failed" |