diff options
author | Luis Francisco Araujo <araujo@gentoo.org> | 2007-01-20 06:28:20 +0000 |
---|---|---|
committer | Luis Francisco Araujo <araujo@gentoo.org> | 2007-01-20 06:28:20 +0000 |
commit | 02b5b99183abf1668fe45f6ddaf21a3e3e4f0e86 (patch) | |
tree | 4e78cbbec25c7fd3937dc7f53a9ce273d7a795c0 /dev-scheme/scheme48 | |
parent | montone typo bit more common - bug #161897 (diff) | |
download | gentoo-2-02b5b99183abf1668fe45f6ddaf21a3e3e4f0e86.tar.gz gentoo-2-02b5b99183abf1668fe45f6ddaf21a3e3e4f0e86.tar.bz2 gentoo-2-02b5b99183abf1668fe45f6ddaf21a3e3e4f0e86.zip |
Adding new version. Compiling with m32 for amd64
(Portage version: 2.1.2-r1)
Diffstat (limited to 'dev-scheme/scheme48')
-rw-r--r-- | dev-scheme/scheme48/ChangeLog | 8 | ||||
-rw-r--r-- | dev-scheme/scheme48/files/digest-scheme48-1.5 | 3 | ||||
-rw-r--r-- | dev-scheme/scheme48/files/scheme48-1.5-as-needed.patch | 14 | ||||
-rw-r--r-- | dev-scheme/scheme48/scheme48-1.5.ebuild | 66 |
4 files changed, 90 insertions, 1 deletions
diff --git a/dev-scheme/scheme48/ChangeLog b/dev-scheme/scheme48/ChangeLog index b331c2cb147a..1fdcf9a63b20 100644 --- a/dev-scheme/scheme48/ChangeLog +++ b/dev-scheme/scheme48/ChangeLog @@ -1,6 +1,12 @@ # 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.4 2007/01/06 12:35:33 masterdriverz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scheme48/ChangeLog,v 1.5 2007/01/20 06:28:20 araujo Exp $ + +*scheme48-1.5 (20 Jan 2007) + + 20 Jan 2007; Luis F. Araujo <araujo@gentoo.org> + +files/scheme48-1.5-as-needed.patch, +scheme48-1.5.ebuild: + Adding new version. Bug #160571. Thanks Dennis Schridde 06 Jan 2007; Charlie Shepherd <masterdriverz@gentoo.org> +files/scheme48-1.3-as-needed.patch, scheme48-1.3-r1.ebuild: diff --git a/dev-scheme/scheme48/files/digest-scheme48-1.5 b/dev-scheme/scheme48/files/digest-scheme48-1.5 new file mode 100644 index 000000000000..bbd2bd2bcb52 --- /dev/null +++ b/dev-scheme/scheme48/files/digest-scheme48-1.5 @@ -0,0 +1,3 @@ +MD5 09edf2ef1c2e40369efdf5bc74f9e85e scheme48-1.5.tgz 2541876 +RMD160 d9bfad4425a37c02436ab69a4aac386471d074ec scheme48-1.5.tgz 2541876 +SHA256 0f064dfccf5d79e5e1a72270835c042d88506b112574c13b346a9116bef9e7ad scheme48-1.5.tgz 2541876 diff --git a/dev-scheme/scheme48/files/scheme48-1.5-as-needed.patch b/dev-scheme/scheme48/files/scheme48-1.5-as-needed.patch new file mode 100644 index 000000000000..c9e9a48ca4ce --- /dev/null +++ b/dev-scheme/scheme48/files/scheme48-1.5-as-needed.patch @@ -0,0 +1,14 @@ +diff -urwpN scheme48-1.5/Makefile.in scheme48-1.5.chg/Makefile.in +--- scheme48-1.5/Makefile.in 2007-01-06 14:14:10.000000000 -0400 ++++ scheme48-1.5.chg/Makefile.in 2007-01-20 00:54:53.000000000 -0400 +@@ -231,8 +231,8 @@ $(VM): c/main.o $(OBJS) $(UNIX_OBJS) $(L + $(EXTERNAL_INITIALIZERS) && \ + $(CC) $(LDFLAGS) $(CFLAGS) -o $@ c/main.o $(OBJS) $(UNIX_OBJS) \ + /tmp/s48_external_$$$$.c \ +- $(LIBOBJS) $(LIBS) \ +- $(EXTERNAL_OBJECTS) $(EXTERNAL_LD_FLAGS) && \ ++ $(LIBOBJS) \ ++ $(EXTERNAL_OBJECTS) $(EXTERNAL_LD_FLAGS) $(LIBS) && \ + rm -f /tmp/s48_external_$$$$.c + + script-interpreter: c/script-interpreter.o diff --git a/dev-scheme/scheme48/scheme48-1.5.ebuild b/dev-scheme/scheme48/scheme48-1.5.ebuild new file mode 100644 index 000000000000..18cf4dde7cdb --- /dev/null +++ b/dev-scheme/scheme48/scheme48-1.5.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.5.ebuild,v 1.1 2007/01/20 06:28:20 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="" +RDEPEND="" +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}/${P}-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 +} |