diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-03-22 18:44:54 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-03-22 18:44:54 +0000 |
commit | c9d4a19a417876f0664800d2ec1601b0f062e096 (patch) | |
tree | 8021a1dea970b5e24d3e2f46f0020e0920db880b /eclass | |
parent | #61133 (diff) | |
download | gentoo-2-c9d4a19a417876f0664800d2ec1601b0f062e096.tar.gz gentoo-2-c9d4a19a417876f0664800d2ec1601b0f062e096.tar.bz2 gentoo-2-c9d4a19a417876f0664800d2ec1601b0f062e096.zip |
Updated games_make_wrapper to make it simpler and more like other games functions.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/games.eclass | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass index 9d7491a17135..700e4c9d8110 100644 --- a/eclass/games.eclass +++ b/eclass/games.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.90 2005/03/22 18:24:24 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.91 2005/03/22 18:44:54 wolf31o2 Exp $ # # devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org -> games@gentoo.org # @@ -95,6 +95,8 @@ dogameslib.so() { gameswrapper ${FUNCNAME/games} "$@"; } newgamesbin() { gameswrapper ${FUNCNAME/games} "$@"; } newgamessbin() { gameswrapper ${FUNCNAME/games} "$@"; } +games_make_wrapper() { gameswrapper ${FUNCNAME/games_} "$@"; } + gamesowners() { chown ${GAMES_USER}:${GAMES_GROUP} "$@"; } gamesperms() { chmod u+rw,g+r-w,o-rwx "$@"; } prepgamesdirs() { @@ -195,16 +197,3 @@ games_umod_unpack() { rm -f "${Ddir}"/System/{ucc-bin,{Manifest,Def{ault,User},User,UT2003}.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int,ucc.log} &>/dev/null \ || die "Removing temporary files" } - -# make a wrapper script ... -# $1 == wrapper name -# $2 == binary to run -# $3 == directory to chdir before running binary -# $4 == extra LD_LIBRARY_PATH's (make it : delimited) -games_make_wrapper() { - into /usr/games - make_wrapper ${@} - # WARNING: This will stomp on the current value of "into" so be sure to - # check for this! - into /usr -} |