View | Details | Raw Unified
Collapse All | Expand All

(-) legends-0.2.2b.ebuild (-11 / +11 lines)
 Lines 1-29    Link Here 
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/games-fps/legends/legends-0.2.2b.ebuild,v 1.2 2003/09/27 01:03:59 vapier Exp $
# $Header: $
inherit games
inherit games
DESCRIPTION="A fast-paced first-person-perspective online multiplayer game"
DESCRIPTION="A fast-paced first-person-perspective online multiplayer game similar to Tribes"
HOMEPAGE="http://hosted.tribalwar.com/legends/"
HOMEPAGE="http://hosted.tribalwar.com/legends/"
SRC_URI="http://hosted.tribalwar.com/legends/files/legends.tar.gz"
SRC_URI="http://themasters.co.za/${P}.tar.gz"
LICENSE="TGE"
LICENSE="as-is"
SLOT="0"
SLOT="0"
KEYWORDS="x86"
KEYWORDS="~x86"
DEPEND=""
DEPEND=""
RDEPEND=">=media-libs/libsdl-1.2
RDEPEND=">=media-libs/libsdl-1.2
	media-libs/openal"
	media-libs/openal"
S=${WORKDIR}
src_unpack() {
src_unpack() {
	unpack ${A}
	unpack ${A}
	cd ${S}
	rm runlegends libSDL-*.so* libopenal.so
	rm runlegends libSDL-*.so* libopenal.so
	find -type f -exec chmod a-x '{}' \;
	find -type f -exec chmod a-x '{}' \;
	chmod -R go-w *
	chmod a+x ispawn lindedicated LinLegends
	chmod a+x common legends show ispawn lindedicated LinLegends
}
}
src_install() {
src_install() {
 Lines 32-38    Link Here 
	cp -R * ${D}/${dir}/
	cp -R * ${D}/${dir}/
	dogamesbin ${FILESDIR}/legends
	dogamesbin ${FILESDIR}/legends
	dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/legends
	dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/legends
	dogamesbin ${FILESDIR}/legends-ded
	if use dedicated; then
	dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/legends-ded
		dogamesbin ${FILESDIR}/legends-ded
		dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/legends-ded
	fi
	prepgamesdirs
	prepgamesdirs
}
}