blob: 2ccd7d8049d829bba400b86ae3fdb32b160dfdd5 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-server/bf1942-lnxded/bf1942-lnxded-1.5.ebuild,v 1.4 2004/06/24 23:17:55 agriffis Exp $
inherit games
DESCRIPTION="dedicated server for Battlefield 1942"
HOMEPAGE="http://www.eagames.com/official/battlefield/1942/us/editorial/serveradminfaq.jsp"
SRC_URI="bf1942_lnxded-${PV}.tar.bz2"
LICENSE="as-is"
SLOT="0"
KEYWORDS="x86"
IUSE=""
RESTRICT="fetch"
RDEPEND="virtual/glibc
sys-devel/gcc"
S="${WORKDIR}/bf1942"
pkg_nofetch() {
einfo "Please download ${A} from"
einfo "http://www.3dgamers.com/dl/games/battlefield1942/bf1942_lnxded-${PV}.tar.bz2.html"
einfo "and put it in ${DISTDIR}"
}
src_install() {
local dir=${GAMES_PREFIX_OPT}/bf1942
dodir ${dir}
mv * ${D}/${dir}/
dosym bf1942_lnxded.dynamic ${dir}/bf1942_lnxded
dogamesbin ${FILESDIR}/bf1942-lnxded
dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/bf1942-lnxded
prepgamesdirs
}
|