summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-03-30 17:43:34 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-03-30 17:43:34 +0000
commit6db83c4ccceeff2b6d8b9fbe8b98f81fc07bc7fc (patch)
tree300855d213b50a6ba6bc2a8bb4b652819d508704 /games-server/bf1942-lnxded
parentFix obsolete /lib/udev/usb-db use, patch from Debian, fixes bug #544728. Also... (diff)
downloadgentoo-2-6db83c4ccceeff2b6d8b9fbe8b98f81fc07bc7fc.tar.gz
gentoo-2-6db83c4ccceeff2b6d8b9fbe8b98f81fc07bc7fc.tar.bz2
gentoo-2-6db83c4ccceeff2b6d8b9fbe8b98f81fc07bc7fc.zip
EAPI=5
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-server/bf1942-lnxded')
-rw-r--r--games-server/bf1942-lnxded/ChangeLog8
-rw-r--r--games-server/bf1942-lnxded/bf1942-lnxded-1.61.ebuild19
2 files changed, 17 insertions, 10 deletions
diff --git a/games-server/bf1942-lnxded/ChangeLog b/games-server/bf1942-lnxded/ChangeLog
index b35e6e9c3593..a2d9791046ff 100644
--- a/games-server/bf1942-lnxded/ChangeLog
+++ b/games-server/bf1942-lnxded/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-server/bf1942-lnxded
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/bf1942-lnxded/ChangeLog,v 1.12 2014/04/30 19:25:04 ulm Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/bf1942-lnxded/ChangeLog,v 1.13 2015/03/30 17:43:34 mr_bones_ Exp $
+
+ 30 Mar 2015; Michael Sterrett <mr_bones_@gentoo.org>
+ bf1942-lnxded-1.61.ebuild:
+ EAPI=5
30 Apr 2014; Ulrich Müller <ulm@gentoo.org> bf1942-lnxded-1.61.ebuild:
Fix LICENSE, bug 505746.
diff --git a/games-server/bf1942-lnxded/bf1942-lnxded-1.61.ebuild b/games-server/bf1942-lnxded/bf1942-lnxded-1.61.ebuild
index 5ce1ad5ac1f8..7564c3c9f580 100644
--- a/games-server/bf1942-lnxded/bf1942-lnxded-1.61.ebuild
+++ b/games-server/bf1942-lnxded/bf1942-lnxded-1.61.ebuild
@@ -1,13 +1,14 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 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.9 2014/04/30 19:25:04 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-server/bf1942-lnxded/bf1942-lnxded-1.61.ebuild,v 1.10 2015/03/30 17:43:34 mr_bones_ Exp $
+EAPI=5
inherit eutils unpacker games
DESCRIPTION="dedicated server for Battlefield 1942"
-HOMEPAGE="http://www.eagames.com/official/battlefield/1942/us/editorial/serveradminfaq.jsp"
-SRC_URI="http://bf1942.lightcubed.com/dist/${PN/-/_}-1.6-rc2.run
- ftp://largedownloads.ea.com/pub/misc/bf1942-update-${PV}.tar.gz"
+HOMEPAGE="http://www.battlefield.com/battlefield-1942"
+SRC_URI="http://ftp.games.skynet.be/pub/misc/${PN/-/_}-1.6-rc2.run
+ http://ftp.games.skynet.be/pub/misc/bf1942-update-${PV}.tar.gz"
LICENSE="bf1942-lnxded"
SLOT="0"
@@ -20,6 +21,8 @@ S=${WORKDIR}
dir=${GAMES_PREFIX_OPT}/bf1942
Ddir=${D}/${dir}
+QA_PREBUILT="${dir}/*.so ${dir}/bf1942_lnxded.*"
+
src_unpack() {
mkdir bf1942 && cd bf1942
unpack_makeself ${PN/-/_}-1.6-rc2.run
@@ -29,10 +32,10 @@ src_unpack() {
src_install() {
dodir "${dir}"
- mv -f "${S}"/bf1942/* "${S}" || die "Copying patch files"
- rm -rf "${S}"/bf1942 || die "removing extra directory"
+ mv -f "${S}"/bf1942/* "${S}" || die
+ rm -rf "${S}"/bf1942 || die
- mv "${S}"/* "${Ddir}" || die "Copying game data"
+ mv "${S}"/* "${Ddir}" || die
dosym bf1942_lnxded.dynamic "${dir}"/bf1942_lnxded
games_make_wrapper ${PN} ./bf1942_lnxded "${dir}"