blob: 0ad4b9228e8a3d0ebe15642223ecf0310bc15920 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmath/tuxmath-20010907.ebuild,v 1.1 2003/09/10 04:51:18 vapier Exp $
inherit games
MY_P="${PN}-2001.09.07-0102"
DESCRIPTION="Educational arcade game where you have to solve math problems"
SRC_URI="mirror://sourceforge/tuxmath/${MY_P}.tar.gz"
HOMEPAGE="http://www.newbreedsoftware.com/tuxmath/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
DEPEND=">=media-libs/libsdl-1.1.5
>=media-libs/sdl-image-1.2.2
>=media-libs/sdl-mixer-1.2.4"
S=${WORKDIR}/${PN}
src_compile() {
emake \
DATA_PREFIX=${GAMES_DATADIR}/${PN} \
BIN_PREFIX=${GAMES_BINDIR} \
|| die
}
src_install() {
find -name CVS -type d -exec rm -rf '{}' \;
dogamesbin tuxmath
dodir ${GAMES_DATADIR}/${PN}
mv data/{images,sounds} ${D}/${GAMES_DATADIR}/${PN}/
dodoc docs/*.txt
prepgamesdirs
}
|