diff options
author | 2005-01-27 19:38:09 +0000 | |
---|---|---|
committer | 2005-01-27 19:38:09 +0000 | |
commit | 06a5fe5110be5a3bcb610be8ed528dea723302d5 (patch) | |
tree | 032cd82ca5211ede89ae7beb7ccf3d39c960ec1e /games-server/halflife-steam/halflife-steam-2.0.ebuild | |
parent | forgot RDEPENDS - thanks peter (diff) | |
download | gentoo-2-06a5fe5110be5a3bcb610be8ed528dea723302d5.tar.gz gentoo-2-06a5fe5110be5a3bcb610be8ed528dea723302d5.tar.bz2 gentoo-2-06a5fe5110be5a3bcb610be8ed528dea723302d5.zip |
add back in for Prosys
(Portage version: 2.0.51-r15)
Diffstat (limited to 'games-server/halflife-steam/halflife-steam-2.0.ebuild')
-rw-r--r-- | games-server/halflife-steam/halflife-steam-2.0.ebuild | 63 |
1 files changed, 63 insertions, 0 deletions
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" +} |