diff options
-rw-r--r-- | dev-scheme/tinyscheme/ChangeLog | 7 | ||||
-rw-r--r-- | dev-scheme/tinyscheme/tinyscheme-1.39.ebuild | 36 |
2 files changed, 42 insertions, 1 deletions
diff --git a/dev-scheme/tinyscheme/ChangeLog b/dev-scheme/tinyscheme/ChangeLog index bbe4831c1a56..98de0e604874 100644 --- a/dev-scheme/tinyscheme/ChangeLog +++ b/dev-scheme/tinyscheme/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-scheme/tinyscheme # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/tinyscheme/ChangeLog,v 1.7 2008/03/13 20:20:32 hkbst Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/tinyscheme/ChangeLog,v 1.8 2008/05/08 10:07:42 hkbst Exp $ + +*tinyscheme-1.39 (08 May 2008) + + 08 May 2008; Marijn Schouten <hkBst@gentoo.org> +tinyscheme-1.39.ebuild: + bump 13 Mar 2008; Marijn Schouten <hkBst@gentoo.org> tinyscheme-1.38-r1.ebuild: fix bug 206224 diff --git a/dev-scheme/tinyscheme/tinyscheme-1.39.ebuild b/dev-scheme/tinyscheme/tinyscheme-1.39.ebuild new file mode 100644 index 000000000000..8bf23bbb206c --- /dev/null +++ b/dev-scheme/tinyscheme/tinyscheme-1.39.ebuild @@ -0,0 +1,36 @@ +# Copyright 2000-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/tinyscheme/tinyscheme-1.39.ebuild,v 1.1 2008/05/08 10:07:42 hkbst Exp $ + +MY_P=${PN}${PV} +DESCRIPTION="Lightweight scheme interpreter" +HOMEPAGE="http://tinyscheme.sourceforge.net" +SRC_URI="mirror://sourceforge/tinyscheme/${MY_P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A}; cd "${S}" + sed 's/PLATFORM_FEATURES = -DUSE_STRLWR=0/#PLATFORM_FEATURES = -DUSE_STRLWR=0/' -i makefile + sed 's/CC = gcc -fpic/CC = gcc -fpic ${CFLAGS}/' -i makefile + sed 's/LDFLAGS/LOCAL_LDFLAGS/g' -i makefile + sed 's/LOCAL_LDFLAGS = -shared/LOCAL_LDFLAGS = -shared ${LDFLAGS}/' -i makefile + sed 's/DEBUG=-g -Wno-char-subscripts -O/DEBUG=/' -i makefile +} + +src_install() { + INIT_DIR=/usr/share/tinyscheme/ + newbin scheme tinyscheme + dolib libtinyscheme.a libtinyscheme.so + insinto ${INIT_DIR} + doins init.scm + dodir /etc/env.d/ && echo "TINYSCHEMEINIT=\"${INIT_DIR}init.scm\"" > "${D}"/etc/env.d/50tinyscheme +} |