summaryrefslogtreecommitdiff
blob: f82d88fa0ddf2f165302a5ce01fd23794240839f (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/app-misc/tipptrainer/tipptrainer-0.6.0-r1.ebuild,v 1.1 2007/01/28 02:20:09 dirtyepic Exp $

WX_GTK_VER="2.6"

inherit flag-o-matic eutils wxwidgets

DESCRIPTION="A touch typing trainer (German/English)"
HOMEPAGE="http://tipptrainer.pingos.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
DEPEND=">=dev-libs/glib-1.2.7
	=x11-libs/wxGTK-2.6*"

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}"/${P}-gcc41_extra_qualification.patch
}

src_compile() {
	need-wxwidgets gtk2
	append-flags "-fno-strict-aliasing"
	econf || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	einstall || die "einstall failed"
}