summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Francisco Araujo <araujo@gentoo.org>2010-12-12 07:46:05 +0000
committerLuis Francisco Araujo <araujo@gentoo.org>2010-12-12 07:46:05 +0000
commit780e6f0d16caddec62646d635dfe4a84ba914659 (patch)
tree0448f1544538555c057dee936b35b39fa9af0f26 /dev-lang/gnu-smalltalk
parentmedia-libs/jpeg -> virtual/jpeg (bug #347958) (diff)
downloadgentoo-2-780e6f0d16caddec62646d635dfe4a84ba914659.tar.gz
gentoo-2-780e6f0d16caddec62646d635dfe4a84ba914659.tar.bz2
gentoo-2-780e6f0d16caddec62646d635dfe4a84ba914659.zip
Updating version to 3.2.2
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/gnu-smalltalk')
-rw-r--r--dev-lang/gnu-smalltalk/ChangeLog8
-rw-r--r--dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.2.ebuild65
2 files changed, 72 insertions, 1 deletions
diff --git a/dev-lang/gnu-smalltalk/ChangeLog b/dev-lang/gnu-smalltalk/ChangeLog
index 8618f3edec5f..29caee6a27c6 100644
--- a/dev-lang/gnu-smalltalk/ChangeLog
+++ b/dev-lang/gnu-smalltalk/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/gnu-smalltalk
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.44 2010/07/27 15:46:20 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.45 2010/12/12 07:46:05 araujo Exp $
+
+*gnu-smalltalk-3.2.2 (12 Dec 2010)
+
+ 12 Dec 2010; Luis F. Araujo <araujo@gentoo.org>
+ +gnu-smalltalk-3.2.2.ebuild:
+ Updating to version 3.2.2
27 Jul 2010; Jeroen Roovers <jer@gentoo.org> -gnu-smalltalk-3.2.ebuild:
Remove version that collides with sys-devel/autogen (bug #326917).
diff --git a/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.2.ebuild b/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.2.ebuild
new file mode 100644
index 000000000000..6c8962b5fba3
--- /dev/null
+++ b/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.2.ebuild,v 1.1 2010/12/12 07:46:05 araujo Exp $
+
+EAPI="0"
+
+inherit elisp-common flag-o-matic eutils
+
+DESCRIPTION="GNU Smalltalk"
+HOMEPAGE="http://smalltalk.gnu.org"
+SRC_URI="http://ftp.gnu.org/gnu/smalltalk/smalltalk-${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="tk readline emacs gtk gmp"
+
+DEPEND="sys-libs/gdbm
+ sys-apps/debianutils
+ dev-libs/libsigsegv
+ virtual/libffi
+ emacs? ( virtual/emacs )
+ readline? ( sys-libs/readline )
+ tk? ( dev-lang/tk )
+ gtk? ( =x11-libs/gtk+-2* )
+ gmp? ( dev-libs/gmp )"
+RDEPEND=""
+
+S="${WORKDIR}/smalltalk-${PV}"
+
+SITEFILE=50gnu-smalltalk-gentoo.el
+
+src_compile() {
+ replace-flags '-O3' '-O2'
+ econf \
+ --libdir=/usr/$(get_libdir) \
+ --with-system-libsigsegv \
+ --with-system-libffi \
+ --with-system-libltdl \
+ $(use_with emacs emacs) \
+ $(use_with readline readline) \
+ $(use_with gmp gmp) \
+ $(use_with tk tcl /usr/$(get_libdir)) \
+ $(use_with tk tk /usr/$(get_libdir)) \
+ $(use_enable gtk gtk)
+ emake || die "emake failed"
+ use emacs && elisp-compile *.el
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO
+ 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() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}