blob: 8baa5cf9536950555d95914db87ab0c7b9b59442 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxracer-demo/tuxracer-demo-1.1.ebuild,v 1.10 2006/09/29 18:52:05 wolf31o2 Exp $
inherit eutils games
DESCRIPTION="race downhill as different arctic characters (including Tux!)"
HOMEPAGE="http://www.tuxracer.com/"
SRC_URI="tuxracer-demo-${PV}-linux-i386.sh"
LICENSE="as-is"
SLOT="0"
KEYWORDS="-* x86"
RESTRICT="fetch strip"
IUSE=""
DEPEND="virtual/opengl
virtual/glu
|| ( ( x11-libs/libXi
x11-libs/libXmu )
virtual/x11 )"
S=${WORKDIR}
pkg_nofetch() {
einfo "Please visit http://www.tuxracer.com/?page=downloads.php"
einfo "and download ${A}"
einfo "and put the files in ${DISTDIR}"
}
src_unpack() {
unpack_makeself tuxracer-demo-${PV}-linux-i386.sh
}
src_install() {
local dir=${GAMES_PREFIX_OPT}/${PN}
dodir ${dir}
exeinto ${dir}
doexe bin/x86/glibc-2.1/*
insinto ${dir}
doins EULA GPL LGPL README Tcl_license language *.tcl
cp -r characters courses fonts models music tcllib textures ${D}/${dir}
dodir ${GAMES_BINDIR}
dosym ${dir}/tuxracer-demo ${GAMES_BINDIR}/tuxracer-demo
prepgamesdirs
}
|