summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Francisco Araujo <araujo@gentoo.org>2007-07-28 20:06:56 +0000
committerLuis Francisco Araujo <araujo@gentoo.org>2007-07-28 20:06:56 +0000
commitd63f6e6cf5f8ebaf9b83c56432ab08d76e92805a (patch)
treec942ca14ffb2fef54dae56bae47e0918b27c8bb7 /dev-scheme/scheme48
parentia64/x86 stable (diff)
downloadgentoo-2-d63f6e6cf5f8ebaf9b83c56432ab08d76e92805a.tar.gz
gentoo-2-d63f6e6cf5f8ebaf9b83c56432ab08d76e92805a.tar.bz2
gentoo-2-d63f6e6cf5f8ebaf9b83c56432ab08d76e92805a.zip
Adding new version. bug #179996
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'dev-scheme/scheme48')
-rw-r--r--dev-scheme/scheme48/ChangeLog7
-rw-r--r--dev-scheme/scheme48/files/digest-scheme48-1.63
-rw-r--r--dev-scheme/scheme48/scheme48-1.6.ebuild66
3 files changed, 75 insertions, 1 deletions
diff --git a/dev-scheme/scheme48/ChangeLog b/dev-scheme/scheme48/ChangeLog
index 8a4cea32f0c7..e179b0c8178d 100644
--- a/dev-scheme/scheme48/ChangeLog
+++ b/dev-scheme/scheme48/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-scheme/scheme48
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scheme48/ChangeLog,v 1.7 2007/07/05 23:35:03 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scheme48/ChangeLog,v 1.8 2007/07/28 20:06:56 araujo Exp $
+
+*scheme48-1.6 (28 Jul 2007)
+
+ 28 Jul 2007; <araujo@gentoo.org> +scheme48-1.6.ebuild:
+ Added new version. bug #179996
05 Jul 2007; Ulrich Mueller <ulm@gentoo.org> scheme48-1.3-r1.ebuild,
scheme48-1.5.ebuild:
diff --git a/dev-scheme/scheme48/files/digest-scheme48-1.6 b/dev-scheme/scheme48/files/digest-scheme48-1.6
new file mode 100644
index 000000000000..6b15c29262d2
--- /dev/null
+++ b/dev-scheme/scheme48/files/digest-scheme48-1.6
@@ -0,0 +1,3 @@
+MD5 ec5cb92d400c4039c0a1a3d76a3a9f6d scheme48-1.6.tgz 2530302
+RMD160 f5152a7a9bdd217bc5b9d69848f609550ffca46c scheme48-1.6.tgz 2530302
+SHA256 6eaab75dbe4bd12540a2fa543a35afecfa9c7925f508a5c7c961ba16895e7c6f scheme48-1.6.tgz 2530302
diff --git a/dev-scheme/scheme48/scheme48-1.6.ebuild b/dev-scheme/scheme48/scheme48-1.6.ebuild
new file mode 100644
index 000000000000..e767e5be78e8
--- /dev/null
+++ b/dev-scheme/scheme48/scheme48-1.6.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scheme48/scheme48-1.6.ebuild,v 1.1 2007/07/28 20:06:56 araujo Exp $
+
+inherit elisp-common multilib eutils flag-o-matic
+
+DESCRIPTION="Scheme48 is an implementation of the Scheme Programming Language."
+HOMEPAGE="http://www.s48.org/"
+SRC_URI="http://www.s48.org/${PV}/${P}.tgz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc emacs"
+
+DEPEND="emacs? ( virtual/emacs )"
+RDEPEND="${DEPEND}"
+SITEFILE=50scheme48-gentoo.el
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i "s:\`pwd\`:/usr/$(get_libdir)/scheme48:" Makefile.in
+ sed -i "s:lib=\$(LIB):lib=/usr/$(get_libdir)/scheme48:" Makefile.in
+ # Set the correct values for the paths show by the man pages
+ sed -i "s:=\$(bindir)=:=/usr/bin/=:" Makefile.in
+ sed -i "s:=\$(LIB)=:=/usr/$(get_libdir)/scheme48=:" Makefile.in
+ # From Bug #127105
+ sed -i 's:`(cd $(srcdir) && echo $$PWD)`/scheme:'"/usr/$(get_libdir)/scheme48/:" Makefile.in
+ sed -i "s:'\$(LIB)':'/usr/$(get_libdir)/\$(RUNNABLE)':" Makefile.in
+ epatch "${FILESDIR}/scheme48-1.5-as-needed.patch"
+}
+
+src_compile() {
+ use amd64 && append-flags "-m32"
+ econf || die "econf failed"
+ emake || die "emake failed"
+ if use emacs; then
+ elisp-compile ${S}/emacs/cmuscheme48.el
+ fi
+}
+
+src_install() {
+ make prefix=${D}/usr \
+ mandir=${D}/usr/share/man/man1 \
+ install || die "make failed"
+ if use emacs; then
+ elisp-install ${PN} emacs/cmuscheme48.el emacs/*.elc
+ elisp-site-file-install ${FILESDIR}/${SITEFILE}
+ fi
+ dodoc README INSTALL
+ if use doc; then
+ dodoc doc/manual.ps doc/manual.pdf doc/*.txt
+ dohtml -r doc/html/*
+ docinto src
+ dodoc doc/src/*
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}