summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/gnu-smalltalk/ChangeLog9
-rw-r--r--dev-lang/gnu-smalltalk/Manifest12
-rw-r--r--dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.121
-rw-r--r--dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.12.ebuild77
4 files changed, 88 insertions, 11 deletions
diff --git a/dev-lang/gnu-smalltalk/ChangeLog b/dev-lang/gnu-smalltalk/ChangeLog
index 759e32923fbc..c01ab36f3a9a 100644
--- a/dev-lang/gnu-smalltalk/ChangeLog
+++ b/dev-lang/gnu-smalltalk/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lang/gnu-smalltalk
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.11 2005/08/22 18:30:04 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.12 2005/09/05 19:40:52 araujo Exp $
+
+*gnu-smalltalk-2.1.12 (05 Sep 2005)
+
+ 05 Sep 2005; Luis F. Araujo <araujo@gentoo.org>
+ +gnu-smalltalk-2.1.12.ebuild:
+ Added new version of GST. Many bugs fixed in the package and the ebuild.
+ (proper amd64 support now, recreate an image with the right kernel path).
22 Aug 2005; Ferris McCormick <fmccor@gentoo.org>
gnu-smalltalk-2.1.11.ebuild:
diff --git a/dev-lang/gnu-smalltalk/Manifest b/dev-lang/gnu-smalltalk/Manifest
index 265bd6222833..ef6123951dd8 100644
--- a/dev-lang/gnu-smalltalk/Manifest
+++ b/dev-lang/gnu-smalltalk/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 2d25e6ce89e49bcd12c8ae9b4b6d2c79 ChangeLog 2383
MD5 4e2c598e8cb4ff972704246ffa0af579 gnu-smalltalk-2.1.11.ebuild 2193
MD5 54532d9cd3833e3c65d9136f3a1b6458 metadata.xml 630
+MD5 a9ca5883fe2752ce245a6abf30b463d2 gnu-smalltalk-2.1.12.ebuild 2197
+MD5 4335632b4c5c11b3d8d38f821befc042 files/digest-gnu-smalltalk-2.1.12 69
MD5 1b43b00217fd402ab0f309202f633e46 files/50gnu-smalltalk-gentoo.el 268
MD5 21a8210b48bb02fc7aad1a7d58bd7c1d files/2.1.11-gst-image-temp.patch 2123
MD5 96390d8b21fc85acdf2e84a2d91c6a66 files/digest-gnu-smalltalk-2.1.11 69
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDGz3qBQBy/eDH5uERAhqsAKDOzaoqtizxpgRo0sqfQzaLEDYmCACdGAqw
-7hEcwnxqAbmGp/453EmAUgM=
-=ePGr
------END PGP SIGNATURE-----
diff --git a/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.12 b/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.12
new file mode 100644
index 000000000000..276964978ea5
--- /dev/null
+++ b/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.12
@@ -0,0 +1 @@
+MD5 209219aea25b11d516256f24af97e5ad smalltalk-2.1.12.tar.gz 3336852
diff --git a/dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.12.ebuild b/dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.12.ebuild
new file mode 100644
index 000000000000..ea29619fe708
--- /dev/null
+++ b/dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.12.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.12.ebuild,v 1.1 2005/09/05 19:40:52 araujo Exp $
+
+inherit elisp-common flag-o-matic eutils toolchain-funcs
+
+DESCRIPTION="GNU Smalltalk"
+HOMEPAGE="http://www.gnu.org/software/smalltalk/smalltalk.html"
+SRC_URI="http://ftp.gnu.org/gnu/smalltalk/smalltalk-${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="tcltk readline emacs gtk gmp"
+
+DEPEND="sys-libs/gdbm
+ sys-apps/debianutils
+ emacs? ( virtual/emacs )
+ readline? ( sys-libs/readline )
+ tcltk? ( dev-lang/tcl dev-lang/tk )
+ gtk? ( =x11-libs/gtk+-2* )
+ gmp? ( dev-libs/gmp )"
+RDEPEND=""
+
+S=${WORKDIR}/smalltalk-${PV}
+
+SITEFILE=50gnu-smalltalk-gentoo.el
+
+src_unpack() {
+ unpack ${A}
+ sed -i "s:\$(DESTDIR)\$(bindir)/gst \$\$srcdir/Finish.st \-VisqS \-a \"\$(DESTDIR)\" \$(MODULES): :" ${S}/Makefile.am
+ sed -i "s:\$(DESTDIR)\$(bindir)/gst \$\$srcdir/Finish.st \-VisqS \-a \"\$(DESTDIR)\" \$(MODULES): :" ${S}/Makefile.in
+}
+
+src_compile() {
+ local myconf=""
+ if use tcltk; then
+ myconf="
+ `use_with tcltk tcl=/usr/lib` \
+ `use_with tcltk tk=/usr/lib`"
+ fi
+ replace-flags '-O3' '-O2'
+ ./configure --prefix=/usr \
+ `use_with emacs emacs` \
+ `use_with readline readline` \
+ `use_with gmp gmp` \
+ `use_enable gtk gtk` \
+ ${myconf} \
+ || die
+ emake || die "emake failed"
+ use emacs && elisp-compile *.el
+}
+
+src_install() {
+ make prefix=${D}/usr mandir=${D}/usr/share/man infodir=${D}/usr/share/info \
+ lispdir=${D}/usr/share/emacs/site-lisp/gnu-smalltalk install \
+ || die
+ rm -rf ${D}/usr/include/sigsegv.h \
+ ${D}/usr/include/snprintfv \
+ ${D}/usr/share/aclocal/snprintfv.m4
+ dodoc AUTHORS COPYING* ChangeLog NEWS PATCHES README THANKS TODO
+ rm -rf ${D}/var
+ if use emacs; then
+ elisp-install ${PN} *.el *.elc
+ elisp-site-file-install ${FILESDIR}/${SITEFILE}
+ fi
+ fperms 0444 /usr/share/smalltalk/packages.xml
+}
+
+pkg_postinst() {
+ einfo "We generate a GNU SmallTalk Image with the right image kernel path."
+ cd /usr/share/smalltalk ; /usr/bin/gst -iQ dummy
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}