ChangeLog

# ChangeLog for games-server/halflife-steam
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-steam/ChangeLog,v 1.11 2007/03/12 17:56:25 genone Exp $

12 Mar 2007; Marius Mauch halflife-steam-2.0.ebuild:
Replacing einfo with elog

08 Feb 2007; Chris Gianelloni ChangeLog:
Regenerate digest in Manifest2 format.

26 Sep 2005; Chris Gianelloni
halflife-steam-2.0.ebuild:
Making games last on inherit line.

28 Feb 2005; Michael Sterrett :
Need to use binary mode to transfer hldsupdatetool_readme.txt (bug #80378)

12 Sep 2004; Martin Holzer halflife-steam-2.0.ebuild:
new syntax

*halflife-steam-2.0 (02 Dec 2003)

02 Dec 2003; Mike Frysinger :
Update ebuild #34075.

*halflife-steam-2.0_beta (10 Jul 2003)

22 Jul 2003; Michael Sterrett
halflife-steam-2.0_beta.ebuild:
it's "fetch", not "nofetch" even though it should be "nofetch"

10 Jul 2003; Mike Frysinger :
Initial import. Ebuild submitted by me.

Manifest

AUX hlds.confd 484 RMD160 ea23a7aa7ec7decb838b954adbb90026efd3a407 SHA1 588a33b4a40b45d95742bd13c0ddc2602034bd7e SHA256 a53f49749759dea8868aa8c02954e8bd4c2083ce9a87e2fb0ab451c5bbc51e3c
AUX hlds.rc 925 RMD160 76962a1bf4c34d6a80158f2cd4e49c9161047b4c SHA1 5aa14e3cfa33821a1aa4239d7a66c6c691e16ce5 SHA256 661a998a95fea3ebf258d0db246152a39ef16cff1679f7a43cad12125bec0e84
DIST hldsupdatetool.bin 3513408 RMD160 cb890cca0b79c94aea42e9d065c59ab0791d319e SHA1 3b8e0fcdd7375511f88556c3f8b698a28c93110f SHA256 dda8786ac0ce755acc3f307989641482a19de4b28801289b910a3bbcd097a6db
EBUILD halflife-steam-2.0.ebuild 2017 RMD160 d9ebb7357980514ad2d0547673bdd8b6a90f65ff SHA1 6efe510484a69558b5cc8780ba22e0106f2436a7 SHA256 e878de46b2c29ec96063a576e017d13b678abb2280991811f05dc8f5eaaf688b
MISC ChangeLog 1187 RMD160 f446f229158e7bba2857b031e72b82fac5669cb5 SHA1 41bdae74fe19731949d34cef6a8d50b9291e9e17 SHA256 bcb90dd98ea6e650d049dfb1d93d02e50d55ea6d29e1f1c0c3675ded1dbad2d3
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3

files

halflife-steam-2.0.ebuild

# Copyright 1999-2007 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.12 2007/03/12 17:56:25 genone Exp $

inherit eutils games

DESCRIPTION="client for Valve Software's Steam content delivery program"
HOMEPAGE="http://www.steampowered.com/"
SRC_URI="http://www.steampowered.com/download/hldsupdatetool.bin"

LICENSE="ValveServer"
SLOT="0"
KEYWORDS="-* x86"
IUSE=""
RESTRICT="mirror"

S=${WORKDIR}

src_unpack() {
unpack_pdv hldsupdatetool.bin 4
chmod a+x steam
}

src_install() {
exeinto "${GAMES_PREFIX_OPT}"/halflife
doexe steam || die

newinitd "${FILESDIR}"/hlds.rc hlds
sed -i \
-e "s:@GAMES_USER@:${GAMES_USER_DED}:" \
-e "s:@GAMES_GROUP@:${GAMES_GROUP}:" \
"${D}"/etc/init.d/hlds || die "sed init.d"
newconfd "${FILESDIR}"/hlds.confd hlds
sed -i \
-e "s:@GAMESDIR@:${GAMES_PREFIX_OPT}/halflife:" \
"${D}"/etc/conf.d/hlds || die "sed conf.d"

games_make_wrapper steam ./steam "${GAMES_PREFIX_OPT}"/halflife "${GAMES_PREFIX_OPT}"/halflife

prepgamesdirs
}

pkg_postinst() {
games_pkg_postinst

elog 'Steam Usage ! (note: please do this as root)'
elog '1. Run `steam` to update itself.'
elog '2. Run `steam` again to get help menu.'
elog '3. Update the halflife modules you want:'
elog " steam -command update -game 'Counter-Strike Source' -dir ${GAMES_PREFIX_OPT}/halflife"
elog " steam -command update -game cstrike -dir ${GAMES_PREFIX_OPT}/halflife"
elog " steam -command update -game tfc -dir ${GAMES_PREFIX_OPT}/halflife"
elog " steam -command update -game valve -dir ${GAMES_PREFIX_OPT}/halflife"
elog ' *Note: tfc contains tfc, dmc, and ricochet mods'
elog '5. After your first update, you only have to run:'
elog ' steam -update "Counter-Strike Source"'
elog ' steam -update cstrike'
elog ' steam -update tfc'
elog ' steam -update valve'
elog
elog "For more info, see ${GAMES_PREFIX_OPT}/halflife"
}

metadata.xml




games