From 9c3bb2e197b0ea493c1cc5c805ae55869b4fc706 Mon Sep 17 00:00:00 2001 From: Luis Francisco Araujo Date: Wed, 9 Aug 2006 15:38:03 +0000 Subject: Adding new version of squeak. bug #141615 (Portage version: 2.1.1_pre4-r4) --- dev-lang/squeak/ChangeLog | 7 +++- dev-lang/squeak/files/digest-squeak-3.9.7 | 3 ++ dev-lang/squeak/squeak-3.9.7.ebuild | 60 +++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 dev-lang/squeak/files/digest-squeak-3.9.7 create mode 100644 dev-lang/squeak/squeak-3.9.7.ebuild (limited to 'dev-lang') diff --git a/dev-lang/squeak/ChangeLog b/dev-lang/squeak/ChangeLog index 6164ee14d601..c74e9262d1e2 100644 --- a/dev-lang/squeak/ChangeLog +++ b/dev-lang/squeak/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/squeak # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/ChangeLog,v 1.18 2006/08/09 14:01:15 araujo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/ChangeLog,v 1.19 2006/08/09 15:38:03 araujo Exp $ + +*squeak-3.9.7 (09 Aug 2006) + + 09 Aug 2006; Luis F. Araujo +squeak-3.9.7.ebuild: + Adding new version of squeak. bug #141615 *squeak-3.7.7-r1 (09 Aug 2006) diff --git a/dev-lang/squeak/files/digest-squeak-3.9.7 b/dev-lang/squeak/files/digest-squeak-3.9.7 new file mode 100644 index 000000000000..07b0a500b12a --- /dev/null +++ b/dev-lang/squeak/files/digest-squeak-3.9.7 @@ -0,0 +1,3 @@ +MD5 89ca12f4134dbb26c5d383c566774010 Squeak-3.9-7.src.tar.gz 3948315 +RMD160 9b9e99e17259565d2c0de8691cf3b85eef4fcf86 Squeak-3.9-7.src.tar.gz 3948315 +SHA256 fbfa95093b32c53b302189f3b8ea08406dd9b133194e91810263d93f42344d0f Squeak-3.9-7.src.tar.gz 3948315 diff --git a/dev-lang/squeak/squeak-3.9.7.ebuild b/dev-lang/squeak/squeak-3.9.7.ebuild new file mode 100644 index 000000000000..d9f6a89fe223 --- /dev/null +++ b/dev-lang/squeak/squeak-3.9.7.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/squeak-3.9.7.ebuild,v 1.1 2006/08/09 15:38:03 araujo Exp $ + +inherit base versionator fixheadtails eutils + +MY_PV=$(replace_version_separator 2 '-') +DESCRIPTION="Highly-portable Smalltalk-80 implementation" +HOMEPAGE="http://www.squeak.org/" +SRC_URI="http://squeakvm.org/unix/release/Squeak-${MY_PV}.src.tar.gz" +LICENSE="Apple" +SLOT="0" +KEYWORDS="~x86" +IUSE="X mmx threads iconv" + +DEPEND="dev-libs/libffi + ( || ( ( x11-libs/libX11 + x11-libs/libXext + x11-libs/libXt ) + virtual/x11 ) )" +RDEPEND="${DEPEND} + virtual/squeak-image" + +S="${WORKDIR}/Squeak-${MY_PV}" + +src_unpack() { + base_src_unpack + cd ${S} + ht_fix_all +} + +src_compile() { + local myconf="" + use X || myconf="--without-x" + use mmx && myconf="${myconf} --enable-mpg-mmx" + use threads && myconf="${myconf} --enable-mpg-pthread" + use iconv || myconf="${myconf} --disable-iconv" + cd ${S} + mkdir build + cd build + ../platforms/unix/config/configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --with-ffi=x86-sysv \ + ${myconf} || die "configure failed" + emake || die +} + +src_install() { + cd ${S}/build + make ROOT=${D} docdir=/usr/share/doc/${PF} install || die + exeinto /usr/lib/squeak + doexe inisqueak + dosym /usr/lib/squeak/inisqueak /usr/bin/inisqueak +} + +pkg_postinst() { + einfo "Run 'inisqueak' to get a private copy of the squeak image." +} -- cgit v1.2.3-65-gdbad