summaryrefslogtreecommitdiff
blob: 3de7b580a932b9b34a4f267ebae1f044ef1942bb (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/sheepshaver/sheepshaver-20050211.ebuild,v 1.1 2005/02/11 13:02:11 dholm Exp $

inherit eutils

S="${WORKDIR}/${P}/SheepShaver"
DESCRIPTION="A MacOS run-time environment that allows you to run classic MacOS applications"
HOMEPAGE="http://www.uni-mainz.de/~bauec002/SheepShaver.html"
SRC_URI="mirror://gentoo/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE="gtk esd"

DEPEND="gtk? ( x11-libs/gtk+ )
	esd? ( media-sound/esound )
	>=sys-devel/autoconf-2.54
	>=sys-devel/automake-1.7"

src_compile() {
	export WANT_AUTOCONF=2.5
	export WANT_AUTOMAKE=1.7

	make links || die "Failed making links"

	cd src/Unix
	aclocal; autoheader; autoconf

	econf || die "configure failed"
	emake || die "compilation failed"
}

src_install() {
	dohtml doc/Linux/*

	cd src/Unix
	einstall || die "Installation failed"
}