diff options
author | 2002-11-05 19:55:00 +0000 | |
---|---|---|
committer | 2002-11-05 19:55:00 +0000 | |
commit | 8797c7af14bccfe38d70bc0e7fc0195a443f511d (patch) | |
tree | 38f073537d7af0d5096a186b35f3149a9c4860e9 /eclass | |
parent | stupid +x (diff) | |
download | historical-8797c7af14bccfe38d70bc0e7fc0195a443f511d.tar.gz historical-8797c7af14bccfe38d70bc0e7fc0195a443f511d.tar.bz2 historical-8797c7af14bccfe38d70bc0e7fc0195a443f511d.zip |
stupid +x
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/games.eclass | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass deleted file mode 100644 index 62c715480a66..000000000000 --- a/eclass/games.eclass +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.2 2002/11/05 19:54:36 vapier Exp $ - -# devlist: {bass,phoenix,vapier}@gentoo.org -# This is the games ebuild for standardizing the install of games ... - -# you better have a *good* reason why you're *not* using games.eclass -# in an ebuild in app-games - -ECLASS=games -INHERITED="$INHERITED $ECLASS" - -export GAMES_PREFIX="/usr/games" -export GAMES_DATADIR="/usr/share/games/${PN}" -export GAMES_SYSCONFDIR="/etc/games/${PN}" -export GAMES_STATEDIR="/var/games" -export GAMES_PREFIX_OPT="/opt/${PN}" -export GAMES_GROUP="games" - -egameconf() { - if [ -x ./configure ] ; then - ./configure \ - --prefix=${GAMES_PREFIX} \ - --host=${CHOST} \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --datadir=${GAMES_DATADIR} \ - --sysconfdir=${GAMES_SYSCONFDIR} \ - --localstatedir=${GAMES_STATEDIR} \ - "$@" || die "egamesconf failed" - else - die "no configure script found" - fi -} - -gameswrapper() { - local olddtree=${DESTTREE} - into ${GAMES_PREFIX} - local cmd="do$1"; shift - ${cmd} $@ - into ${oldtree} -} - -dogamebin() { gameswrapper bin $@; } -dogamesbin() { gameswrapper sbin $@; } -dogamelib() { gameswrapper lib $@; } -dogamelib.a() { gameswrapper lib.a $@; } -dogamelib.so() { gameswrapper lib.so $@; } |