From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-server/bf1942-lnxded/
Date: Fri, 5 Aug 2016 17:38:56 +0000 (UTC) [thread overview]
Message-ID: <1470418726.62227e71dcc4c9c4ef4df4f341c7a36c1a07da92.wizardedit@gentoo> (raw)
commit: 62227e71dcc4c9c4ef4df4f341c7a36c1a07da92
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 5 16:45:10 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Aug 5 17:38:46 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62227e71
games-server/bf1942-lnxded: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: portage-2.3.0
.../bf1942-lnxded/bf1942-lnxded-1.61-r1.ebuild | 42 ++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/games-server/bf1942-lnxded/bf1942-lnxded-1.61-r1.ebuild b/games-server/bf1942-lnxded/bf1942-lnxded-1.61-r1.ebuild
new file mode 100644
index 0000000..a199aaf
--- /dev/null
+++ b/games-server/bf1942-lnxded/bf1942-lnxded-1.61-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils unpacker
+
+DESCRIPTION="dedicated server for Battlefield 1942"
+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"
+KEYWORDS="~x86"
+IUSE=""
+RESTRICT="mirror bindist strip"
+
+S=${WORKDIR}
+
+dir="/opt/bf1942"
+Ddir="${D}/${dir}"
+
+QA_PREBUILT="${dir}/*.so ${dir}/bf1942_lnxded.*"
+
+src_unpack() {
+ mkdir bf1942 || die
+ pushd bf1942 || die
+ unpack_makeself ${PN/-/_}-1.6-rc2.run
+ popd || die
+ unpack bf1942-update-${PV}.tar.gz
+}
+
+src_install() {
+ dodir "${dir}"
+ mv -f "${S}"/bf1942/* "${S}" || die
+ rm -rf "${S}"/bf1942 || die
+
+ mv "${S}"/* "${Ddir}" || die
+ dosym bf1942_lnxded.dynamic "${dir}"/bf1942_lnxded
+ make_wrapper ${PN} ./bf1942_lnxded "${dir}"
+}
next reply other threads:[~2016-08-05 17:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-05 17:38 Austin English [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-01-14 10:49 [gentoo-commits] repo/gentoo:master commit in: games-server/bf1942-lnxded/ Ulrich Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1470418726.62227e71dcc4c9c4ef4df4f341c7a36c1a07da92.wizardedit@gentoo \
--to=wizardedit@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox