summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-server/halflife-steam/ChangeLog20
-rw-r--r--games-server/halflife-steam/Manifest5
-rw-r--r--games-server/halflife-steam/files/digest-halflife-steam-2.02
-rw-r--r--games-server/halflife-steam/halflife-steam-2.0.ebuild63
-rw-r--r--games-server/halflife-steam/metadata.xml5
5 files changed, 95 insertions, 0 deletions
diff --git a/games-server/halflife-steam/ChangeLog b/games-server/halflife-steam/ChangeLog
new file mode 100644
index 000000000000..1ab0adfcfe61
--- /dev/null
+++ b/games-server/halflife-steam/ChangeLog
@@ -0,0 +1,20 @@
+# ChangeLog for games-server/halflife-steam
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-steam/ChangeLog,v 1.7 2005/01/27 19:38:09 vapier Exp $
+
+ 12 Sep 2004; Martin Holzer <mholzer@gentoo.org> halflife-steam-2.0.ebuild:
+ new syntax
+
+*halflife-steam-2.0 (02 Dec 2003)
+
+ 02 Dec 2003; Mike Frysinger <vapier@gentoo.org> :
+ Update ebuild #34075.
+
+*halflife-steam-2.0_beta (10 Jul 2003)
+
+ 22 Jul 2003; Michael Sterrett <msterret@gentoo.org>
+ halflife-steam-2.0_beta.ebuild:
+ it's "fetch", not "nofetch" even though it should be "nofetch"
+
+ 10 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-server/halflife-steam/Manifest b/games-server/halflife-steam/Manifest
new file mode 100644
index 000000000000..bdee9c7ae9a6
--- /dev/null
+++ b/games-server/halflife-steam/Manifest
@@ -0,0 +1,5 @@
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 a3ac70d2675eff6a0f50072c2c39886e ChangeLog 720
+MD5 e707fcbe0dfad98abefa1d229e82eb96 halflife-steam-2.0.ebuild 2162
+MD5 d0140119f206d8fe49a1d4b5117ec67b files/steam 44
+MD5 0bfc039a889ae19739913bdd9fe8b305 files/digest-halflife-steam-2.0 132
diff --git a/games-server/halflife-steam/files/digest-halflife-steam-2.0 b/games-server/halflife-steam/files/digest-halflife-steam-2.0
new file mode 100644
index 000000000000..ffc6968513c0
--- /dev/null
+++ b/games-server/halflife-steam/files/digest-halflife-steam-2.0
@@ -0,0 +1,2 @@
+MD5 0ddcaabd9d90a0bcbf2d7881611528b1 hldsupdatetool.bin 2981254
+MD5 fada107b6f72bbd9e91bd1cd604135e1 hldsupdatetool_readme.txt 5987
diff --git a/games-server/halflife-steam/halflife-steam-2.0.ebuild b/games-server/halflife-steam/halflife-steam-2.0.ebuild
new file mode 100644
index 000000000000..c58d7bc0c270
--- /dev/null
+++ b/games-server/halflife-steam/halflife-steam-2.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-steam/halflife-steam-2.0.ebuild,v 1.7 2005/01/27 19:38:09 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="client for Valve Software's Steam content delivery program"
+HOMEPAGE="http://www.steampowered.com/"
+SRC_URI="hldsupdatetool.bin hldsupdatetool_readme.txt"
+
+LICENSE="ValveServer"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE=""
+RESTRICT="fetch"
+
+S=${WORKDIR}
+
+pkg_nofetch() {
+ einfo "Please download ${A} from the following ftp server:"
+ einfo "server: ftp.valvesoftware.com"
+ einfo "user: hlserver"
+ einfo "password: hlserver"
+ einfo "directory: linux"
+}
+
+src_unpack() {
+ unpack_pdv hldsupdatetool.bin 4
+ chmod a+x steam
+ cp ${DISTDIR}/hldsupdatetool_readme.txt .
+}
+
+src_install() {
+ exeinto "${GAMES_PREFIX_OPT}"/halflife
+ doexe steam
+ insinto "${GAMES_PREFIX_OPT}"/halflife
+ dodoc hldsupdatetool_readme.txt
+
+ games_make_wrapper steam ./steam "${GAMES_PREFIX_OPT}"/halflife
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ einfo 'Steam Usage ! (note: please do this as root)'
+ einfo '1. Run `steam` to update itself.'
+ einfo '2. Run `steam` again to get help menu.'
+ einfo '3. Create an account:'
+ einfo ' steam -command create -username foobar -email linux1@here.com -password comPlexPass -question "Your hint" -answer "answer"'
+ einfo '4. Update the halflife modules you want:'
+ einfo " steam -command update -game cstrike -dir ${GAMES_PREFIX_OPT}/halflife -username -email linux1@here.com -password comPlexPass"
+ einfo " steam -command update -game tfc -dir ${GAMES_PREFIX_OPT}/halflife -username -email linux1@here.com -password comPlexPass"
+ einfo " steam -command update -game valve -dir ${GAMES_PREFIX_OPT}/halflife -username -email linux1@here.com -password comPlexPass"
+ einfo ' *Note: tfc contains tfc, dmc, and ricochet mods'
+ einfo '5. After your first update, you only have to run:'
+ einfo ' steam -update cstrike'
+ einfo ' steam -update tfc'
+ einfo ' steam -update valve'
+ echo
+ einfo "For more info, see ${GAMES_PREFIX_OPT}/halflife"
+}
diff --git a/games-server/halflife-steam/metadata.xml b/games-server/halflife-steam/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-server/halflife-steam/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>