blob: 3ee1b5d0dbfd993a9a78e8c957b5094b232040b6 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-kids/memonix-bin/memonix-bin-1.6.ebuild,v 1.3 2008/02/29 19:27:56 carlo Exp $
inherit eutils games
MY_PN=${PN%-bin}
DESCRIPTION="Brain teasers, puzzle and memory games for kid's in one pack"
HOMEPAGE="http://www.viewizard.com/memonix/"
SRC_URI="http://www.viewizard.com/download/memx${PV//./}.tar.gz
mirror://gentoo/memonix-addons-1.tar.bz2"
LICENSE="Memonix"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RESTRICT="strip"
DEPEND=""
RDEPEND=""
S=${WORKDIR}/Memonix
src_install() {
exeinto "${GAMES_PREFIX_OPT}/${MY_PN}"
doexe Memonix || die "doexe failed"
insinto "${GAMES_PREFIX_OPT}/${MY_PN}"
doins gamedata.vfs "${WORKDIR}"/addons/* || die "doins failed"
dodoc Changes ReadMe
games_make_wrapper ${MY_PN} "./Memonix" "${GAMES_PREFIX_OPT}/${MY_PN}"
newicon icon48.png ${MY_PN}.png || die "newicon failed"
make_desktop_entry ${MY_PN} "Memonix" ${MY_PN}
prepgamesdirs
}
|