summaryrefslogtreecommitdiff
blob: 6ac5020e343947ec61a44b6630fbd819e5bb33dc (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gturing/gturing-0.1.1.ebuild,v 1.4 2006/11/15 15:18:04 markusle Exp $

inherit eutils

DESCRIPTION="GNOME turing machine simulator"
HOMEPAGE="http://www.nuclecu.unam.mx/~arturo/gTuring/"
SRC_URI="mirror://gnome/sources/${PN}/${PV}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 amd64"
IUSE=""

DEPEND=">=gnome-base/libgnomeui-2.0.0
		dev-util/pkgconfig
		app-text/scrollkeeper"

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

src_compile() {
	econf || die
	emake || die
}

src_install() {
	einstall || die
	dodoc README AUTHORS NEWS TODO
	insinto /usr/share/doc/${PF}/examples
	doins tapes/*.tur
}