summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Francisco Araujo <araujo@gentoo.org>2006-08-09 14:01:15 +0000
committerLuis Francisco Araujo <araujo@gentoo.org>2006-08-09 14:01:15 +0000
commitdb58185de1f5d8b915f0be9c179588b3c3f3a466 (patch)
tree46c74d016cd296e685a047c93546bceb6dfd0277 /dev-lang/squeak
parentAdded gcc4-compatibility patch. (diff)
downloadgentoo-2-db58185de1f5d8b915f0be9c179588b3c3f3a466.tar.gz
gentoo-2-db58185de1f5d8b915f0be9c179588b3c3f3a466.tar.bz2
gentoo-2-db58185de1f5d8b915f0be9c179588b3c3f3a466.zip
Fixing bug #133032.
(Portage version: 2.1.1_pre4-r4)
Diffstat (limited to 'dev-lang/squeak')
-rw-r--r--dev-lang/squeak/ChangeLog7
-rw-r--r--dev-lang/squeak/files/digest-squeak-3.7.7-r13
-rw-r--r--dev-lang/squeak/squeak-3.7.7-r1.ebuild60
3 files changed, 69 insertions, 1 deletions
diff --git a/dev-lang/squeak/ChangeLog b/dev-lang/squeak/ChangeLog
index 312c0325d364..6164ee14d601 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.17 2006/03/19 22:26:13 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/ChangeLog,v 1.18 2006/08/09 14:01:15 araujo Exp $
+
+*squeak-3.7.7-r1 (09 Aug 2006)
+
+ 09 Aug 2006; Luis F. Araujo <araujo@gentoo.org> +squeak-3.7.7-r1.ebuild:
+ Bug #133032 fixed. Fixed broken X library dependency also.
19 Mar 2006; Mark Loeser <halcy0n@gentoo.org> squeak-3.6_p3.ebuild:
Add DEPEND on app-arch/unzip
diff --git a/dev-lang/squeak/files/digest-squeak-3.7.7-r1 b/dev-lang/squeak/files/digest-squeak-3.7.7-r1
new file mode 100644
index 000000000000..0e9e63b56206
--- /dev/null
+++ b/dev-lang/squeak/files/digest-squeak-3.7.7-r1
@@ -0,0 +1,3 @@
+MD5 c6b051b745080516c550cab0db1882fc Squeak-3.7-7.src.tar.gz 2383081
+RMD160 5a67d3b9920333014bdce39be1a4ba99b3c407a3 Squeak-3.7-7.src.tar.gz 2383081
+SHA256 9a41e3245c092115690c055297a9cb94caf1cb79b7faeeff8b923e0822f45234 Squeak-3.7-7.src.tar.gz 2383081
diff --git a/dev-lang/squeak/squeak-3.7.7-r1.ebuild b/dev-lang/squeak/squeak-3.7.7-r1.ebuild
new file mode 100644
index 000000000000..4f4ffb87cdaa
--- /dev/null
+++ b/dev-lang/squeak/squeak-3.7.7-r1.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.7.7-r1.ebuild,v 1.1 2006/08/09 14:01:15 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."
+}