1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 DESCRIPTION="Open source implementation of the Smalltalk-80 programming language."
6 HOMEPAGE="http://syx.googlecode.com"
7 SRC_URI="http://syx.googlecode.com/files/${P}.tar.gz"
10 KEYWORDS="~amd64 ~x86"
11 IUSE="gmp readline gtk X debug profile"
13 RDEPEND="gmp? ( dev-libs/gmp )
14 readline? ( sys-libs/readline )
15 gtk? ( >=x11-libs/gtk+-2.12 )
16 X? ( x11-libs/libX11 )"
19 local myconf="$(use_enable gtk)
20 $(use_enable readline)
25 use debug && myconf="${myconf} --enable-debug=info"
27 econf ${myconf} || die "Configure failed"
29 emake || die "Compile failed"
33 emake DESTDIR="${D}" install || die "Install failed"
34 dodoc README ChangeLog TODO