Summary: | scheme 48 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Johannes Brügmann <johannes> |
Component: | New packages | Assignee: | Scheme Project <scheme> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | hectoregm, hkbst, pupeno |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://www.s48.org/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Johannes Brügmann
2004-08-16 16:34:26 UTC
I didn't check that there was already an ebuild for scheme48, so, I created another one :( Mine seems to have less features, but it also is simpler, so, I'm submitting here in case it is useful in some way. When will we have an ebuild for scheme48 on Portage ? scheme48-1.1.ebuild: inherit eutils DESCRIPTION="An implementation of Scheme (R5RS) based on a byte-code interpreter, designed to be used asa testbed for experiments in implementation techniques and as an expository tool." HOMEPAGE="http://s48.org/" SRC_URI="http://s48.org/${PV}/${P}.tgz" LICENSE="as-is" SLOT="0" KEYWORDS="~x86" IUSE="" src_unpack() { unpack ${A} epatch ${FILESDIR}/${P}-Makefile.in.patch } src_compile() { econf || die "could not configure" emake || die "emake failed" } src_install() { mkdir -p ${D}/usr/lib/ ${D}/usr/bin/ ${D}/usr/include/ einstall || die "could not install" } ====================================== files/scheme48-Makefile.in.patch: --- Makefile.in.orig 2004-12-11 02:07:04.038409568 -0300 +++ Makefile.in 2004-12-11 02:09:35.983310432 -0300 @@ -19,6 +19,7 @@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ prefix = @prefix@ +runprefix = @prefix@ exec_prefix = @exec_prefix@ ### End of `configure' section### @@ -43,6 +44,7 @@ mandir = $(prefix)/man/man$(manext) RUNNABLE = scheme48 MANPAGE = $(RUNNABLE).$(manext) LIB = $(libdir)/$(RUNNABLE) +RUNLIB = $(runprefix)/lib/$(RUNNABLE) distdir = /tmp @@ -255,7 +257,7 @@ inst-vm: inst-image: rm -f '/tmp/$(IMAGE)' && \ - $(srcdir)/build/build-usual-image $(srcdir) '$(LIB)' \ + $(srcdir)/build/build-usual-image $(srcdir) '$(RUNLIB)' \ '/tmp/$(IMAGE)' './$(VM)' '$(INITIAL)' && \ $(INSTALL_DATA) /tmp/$(IMAGE) $(LIB) && \ rm /tmp/$(IMAGE) @@ -290,7 +292,7 @@ inst-script: script=$(bindir)/$(RUNNABLE) && \ echo '#!/bin/sh' >$$script && \ echo >>$$script && \ - echo 'lib=$(LIB)' >>$$script && \ + echo 'lib=$(RUNLIB)' >>$$script && \ echo 'exec $$lib/$(VM) -o $$lib/$(VM) -i $$lib/$(IMAGE) "$$@"' \ >>$$script && \ chmod +x $$script Thanks. it seems we have a scheme48 ebuild, so this bug should be closed. There seems to be a patch so scheme48 works with amd64: http://people.csail.mit.edu/riastradh/tmp/s48-64.patch *** Bug 104074 has been marked as a duplicate of this bug. *** |