gnu-smalltalk-3.2.5 added
This commit is contained in:
parent
a32935191f
commit
816a3f6d0c
|
@ -0,0 +1 @@
|
||||||
|
DIST smalltalk-3.2.5.tar.gz 5779293 SHA256 06e574e818ec49f0555d948ae53b1453d8c1df59ef597dad911a4fd1ffba1cce SHA512 385e5fba2acb8870759e5178282210c09c45685d0cf776bc50f4ed10c9afacf9164547ba8099ea3ed9a92a2a253aa9c2b011a7a9f2dff47ea9cfdf3b42029ebc WHIRLPOOL 3c7f1bd451eae1372d06196e1dc8408a83d8a717e67f09be4b6172d0243bca71a11d298ac9e5946a2599c6322b2ef7c204fd54d41c818151661c04af4aa89f08
|
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
;;; gnu-smalltalk site-lisp configuration
|
||||||
|
|
||||||
|
(add-to-list 'load-path "@SITELISP@")
|
||||||
|
(autoload 'smalltalk-mode "smalltalk-mode" "Autoload for smalltalk-mode" t)
|
||||||
|
(autoload 'gst "gst-mode" "Autoload for gst" t)
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.st\\'" . smalltalk-mode))
|
|
@ -0,0 +1,69 @@
|
||||||
|
# Copyright 1999-2012 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.5.ebuild,v 1.4 2012/06/06 03:07:09 zmedico Exp $
|
||||||
|
|
||||||
|
EAPI="3"
|
||||||
|
|
||||||
|
inherit elisp-common flag-o-matic eutils multilib
|
||||||
|
|
||||||
|
DESCRIPTION="GNU Smalltalk"
|
||||||
|
HOMEPAGE="http://smalltalk.gnu.org"
|
||||||
|
SRC_URI="mirror://gnu/smalltalk/smalltalk-${PV}.tar.gz"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="tk readline emacs gtk gmp"
|
||||||
|
|
||||||
|
DEPEND="app-arch/zip
|
||||||
|
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_configure() {
|
||||||
|
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)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
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
|
||||||
|
}
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer>
|
||||||
|
<email>pchrist@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
<longdescription>
|
||||||
|
GNU Smalltalk is a free implementation of the Smalltalk-80
|
||||||
|
language which runs on most versions on Unix and, in general,
|
||||||
|
everywhere you can find a POSIX-compliance library. An uncommon
|
||||||
|
feature of it is that it is well-versed to scripting tasks and
|
||||||
|
headless processing.
|
||||||
|
</longdescription>
|
||||||
|
</pkgmetadata>
|
Loading…
Reference in New Issue