diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2004-07-09 04:34:37 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2004-07-09 04:34:37 +0000 |
commit | f54732cc049e9f3b1693eb253e8dfc2a7f846e22 (patch) | |
tree | 71bceec521409d1818d641a3f25c01563d565a26 /dev-lang/gnu-smalltalk | |
parent | add =net-mail/mailutils-0.3 (diff) | |
download | historical-f54732cc049e9f3b1693eb253e8dfc2a7f846e22.tar.gz historical-f54732cc049e9f3b1693eb253e8dfc2a7f846e22.tar.bz2 historical-f54732cc049e9f3b1693eb253e8dfc2a7f846e22.zip |
*** empty log message ***
Diffstat (limited to 'dev-lang/gnu-smalltalk')
-rw-r--r-- | dev-lang/gnu-smalltalk/ChangeLog | 11 | ||||
-rw-r--r-- | dev-lang/gnu-smalltalk/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/gnu-smalltalk/files/2.1.8-gst-package-mktemp-gentoo.patch | 20 | ||||
-rw-r--r-- | dev-lang/gnu-smalltalk/files/50gnu-smalltalk-gentoo.el | 5 | ||||
-rw-r--r-- | dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.8 | 1 | ||||
-rw-r--r-- | dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.8.ebuild | 62 | ||||
-rw-r--r-- | dev-lang/gnu-smalltalk/metadata.xml | 15 |
7 files changed, 118 insertions, 0 deletions
diff --git a/dev-lang/gnu-smalltalk/ChangeLog b/dev-lang/gnu-smalltalk/ChangeLog new file mode 100644 index 000000000000..793a29cf9a12 --- /dev/null +++ b/dev-lang/gnu-smalltalk/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-lang/gnu-smalltalk +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.1 2004/07/09 04:34:37 mkennedy Exp $ + +*gnu-smalltalk-2.1.8 (08 Jul 2004) + + 08 Jul 2004; <mkennedy@gentoo.org> +metadata.xml, + +files/2.1.8-gst-package-mktemp-gentoo.patch, + +files/50gnu-smalltalk-gentoo.el, +gnu-smalltalk-2.1.8.ebuild: + Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org> + diff --git a/dev-lang/gnu-smalltalk/Manifest b/dev-lang/gnu-smalltalk/Manifest new file mode 100644 index 000000000000..8188bcdb56d5 --- /dev/null +++ b/dev-lang/gnu-smalltalk/Manifest @@ -0,0 +1,4 @@ +MD5 381e4c2332281d7db7744ba7fa23368a gnu-smalltalk-2.1.8.ebuild~ 1434 +MD5 258106bd90a4f29da0fcfa959177a562 gnu-smalltalk-2.1.8.ebuild 1422 +MD5 c67d223b05922d506793147ed4a212f4 metadata.xml 562 +MD5 66ddf9dc07f2331955851bc54cb3b17f files/digest-gnu-smalltalk-2.1.8 68 diff --git a/dev-lang/gnu-smalltalk/files/2.1.8-gst-package-mktemp-gentoo.patch b/dev-lang/gnu-smalltalk/files/2.1.8-gst-package-mktemp-gentoo.patch new file mode 100644 index 000000000000..5159e099abb7 --- /dev/null +++ b/dev-lang/gnu-smalltalk/files/2.1.8-gst-package-mktemp-gentoo.patch @@ -0,0 +1,20 @@ +Only in smalltalk-2.1.8.orig/: gnu-smalltalk.spec +diff -ur smalltalk-2.1.8.orig/gst-package.in smalltalk-2.1.8/gst-package.in +--- smalltalk-2.1.8.orig/gst-package.in 2003-05-27 12:41:10.000000000 -0500 ++++ smalltalk-2.1.8/gst-package.in 2004-07-05 16:11:46.795594856 -0500 +@@ -138,8 +138,13 @@ + + echo "Merging $files and $IMAGE_PATH/packages.xml..." + $dry_run || { +- sed -e '$i\' -e '</packages>' -e '/<.packages>/,/<packages>/d' $files > $IMAGE_PATH/packages.tmp +- mv $IMAGE_PATH/packages.tmp $IMAGE_PATH/packages.xml ++ tmpfile=$(mktemp) ++ sed -e '$i\' -e '</packages>' -e '/<.packages>/,/<packages>/d' $files > $tmpfile ++ if [ -n ${EBUILD_PHASE} ]; then ++ mv $tmpfile ${D}/usr/share/smalltalk/packages.xml ++ else ++ mv $tmpfile $IMAGE_PATH/packages.xml ++ fi + } + + diff --git a/dev-lang/gnu-smalltalk/files/50gnu-smalltalk-gentoo.el b/dev-lang/gnu-smalltalk/files/50gnu-smalltalk-gentoo.el new file mode 100644 index 000000000000..1915d5c15d97 --- /dev/null +++ b/dev-lang/gnu-smalltalk/files/50gnu-smalltalk-gentoo.el @@ -0,0 +1,5 @@ + +;;; gnu-smalltalk site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(add-to-list 'auto-mode-alist '("\\.st\\'" . smalltalk-mode))
\ No newline at end of file diff --git a/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.8 b/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.8 new file mode 100644 index 000000000000..7759ca897ca6 --- /dev/null +++ b/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.8 @@ -0,0 +1 @@ +MD5 dd55006e41c87ddbf90f7cd2166b290b smalltalk-2.1.8.tar.gz 3403467 diff --git a/dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.8.ebuild b/dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.8.ebuild new file mode 100644 index 000000000000..e53ab3add5db --- /dev/null +++ b/dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.8.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2004 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.8.ebuild,v 1.1 2004/07/09 04:34:37 mkennedy Exp $ + +inherit elisp-common flag-o-matic eutils gcc + +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="dev-libs/gmp + 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 )" + +S=${WORKDIR}/smalltalk-${PV} + +SITEFILE=50gnu-smalltalk-gentoo.el + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${PV}-gst-package-mktemp-gentoo.patch +} + +src_compile() { + replace-flags '-O3' '-O2' + econf \ + `use_with emacs emacs` \ + `use_with readline readline` \ + `use_with tcltk tcl=/usr/lib` \ + `use_with tcltk tk=/usr/lib` \ + `use_with gmp gmp` \ + `use_enable gtk gtk` \ + || die + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} lispdir=/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 + use emacs && elisp-site-file-install ${FILESDIR}/${SITEFILE} + +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-lang/gnu-smalltalk/metadata.xml b/dev-lang/gnu-smalltalk/metadata.xml new file mode 100644 index 000000000000..7ea302df6fe0 --- /dev/null +++ b/dev-lang/gnu-smalltalk/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>mkennedy@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> |