diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-07-26 23:01:39 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-07-26 23:01:39 +0000 |
commit | f4eebba99f0fb81db9dc79b792e4125572e0411c (patch) | |
tree | 7b09012582a62111d7a4393a1340f6b5e75f9b14 /games-server/bf1942-lnxded/bf1942-lnxded-1.61.ebuild | |
parent | New upstream release (diff) | |
download | historical-f4eebba99f0fb81db9dc79b792e4125572e0411c.tar.gz historical-f4eebba99f0fb81db9dc79b792e4125572e0411c.tar.bz2 historical-f4eebba99f0fb81db9dc79b792e4125572e0411c.zip |
Version bumped to 1.61, removed fetch restriction, and closing bug #84292.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'games-server/bf1942-lnxded/bf1942-lnxded-1.61.ebuild')
-rw-r--r-- | games-server/bf1942-lnxded/bf1942-lnxded-1.61.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/games-server/bf1942-lnxded/bf1942-lnxded-1.61.ebuild b/games-server/bf1942-lnxded/bf1942-lnxded-1.61.ebuild new file mode 100644 index 000000000000..9765c8661fab --- /dev/null +++ b/games-server/bf1942-lnxded/bf1942-lnxded-1.61.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2005 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.61.ebuild,v 1.1 2005/07/26 23:01:39 wolf31o2 Exp $ + +inherit games eutils + +DESCRIPTION="dedicated server for Battlefield 1942" +HOMEPAGE="http://www.eagames.com/official/battlefield/1942/us/editorial/serveradminfaq.jsp" +SRC_URI="mirror://3dgamers/pub/3dgamers/games/battlefield1942/${PN/-/_}-1.6-rc2.run + mirror://3dgamers/pub/3dgamers/games/battlefield1942/bf1942-update-${PV}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +RESTRICT="mirror strip" + +RDEPEND="sys-libs/glibc + sys-devel/gcc" + +S="${WORKDIR}" +dir="${GAMES_PREFIX_OPT}/bf1942" +Ddir="${D}/${dir}" + +src_unpack() { + unpack_makeself ${PN/-/_}-1.6-rc2.run + unpack bf1942-update-${PV}.tar.gz +} + +src_install() { + dodir ${dir} + mv -f ${S}/bf1942/* ${S} || die "Copying patch files" + rm -rf ${S}/bf1942 || die "removing extra directory" + + mv ${S}/* ${Ddir} || die "Copying game data" + dosym bf1942_lnxded.dynamic ${dir}/bf1942_lnxded + games_make_wrapper ${PN} ./bf1942_lnxded ${dir} + + prepgamesdirs +} |