blob: 29d02accd12ca8f52401d3694cd505411cfa5785 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-sports/trophy/trophy-1.1.3.ebuild,v 1.1 2003/09/11 12:26:35 vapier Exp $
inherit games
MY_P="${P}-src"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="2D Racing Game"
HOMEPAGE="http://trophy.sourceforge.net/"
SRC_URI="mirror://sourceforge/trophy/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
DEPEND="=clanlib-0.6.5*
>=hermes-1.3.2
>=zlib-1.1.3"
pkg_setup() {
clanlib-config 0.6.5
}
src_unpack() {
unpack ${A}
cd ${S}
find -name ".cvsignore" -exec rm -f \{\} \;
}
src_compile() {
cd trophy
autoconf || die "autoconf failed"
egamesconf || die
emake || die "emake failed"
}
src_install() {
dogamesbin trophy/trophy
dodir ${GAMES_DATADIR}/trophy/resources
cp -R trophy/resources/* ${D}${GAMES_DATADIR}/trophy/resources
cp trophy/resources.scr ${D}${GAMES_DATADIR}/trophy/
dodoc AUTHORS README TODO ChangeLog
prepgamesdirs
}
|