summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2011-02-28 16:45:17 +0000
committerMarijn Schouten <hkbst@gentoo.org>2011-02-28 16:45:17 +0000
commitb6f5f772789be7f570d67e5c3cae9be66e7a8caa (patch)
treed7b1c7e61d392c1be920785fa4ea68cdd4b71d3e /dev-scheme
parentRemove old version (diff)
downloadgentoo-2-b6f5f772789be7f570d67e5c3cae9be66e7a8caa.tar.gz
gentoo-2-b6f5f772789be7f570d67e5c3cae9be66e7a8caa.tar.bz2
gentoo-2-b6f5f772789be7f570d67e5c3cae9be66e7a8caa.zip
bump
(Portage version: 2.1.9.35/cvs/Linux x86_64)
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/tinyscheme/ChangeLog9
-rw-r--r--dev-scheme/tinyscheme/tinyscheme-1.40.ebuild48
2 files changed, 55 insertions, 2 deletions
diff --git a/dev-scheme/tinyscheme/ChangeLog b/dev-scheme/tinyscheme/ChangeLog
index d51d8e8346dd..a769c383851e 100644
--- a/dev-scheme/tinyscheme/ChangeLog
+++ b/dev-scheme/tinyscheme/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-scheme/tinyscheme
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/tinyscheme/ChangeLog,v 1.9 2010/07/01 16:14:51 chiiph Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/tinyscheme/ChangeLog,v 1.10 2011/02/28 16:45:17 hkbst Exp $
+
+*tinyscheme-1.40 (28 Feb 2011)
+
+ 28 Feb 2011; Marijn Schouten <hkBst@gentoo.org> +tinyscheme-1.40.ebuild:
+ bump
*tinyscheme-1.39-r1 (01 Jul 2010)
diff --git a/dev-scheme/tinyscheme/tinyscheme-1.40.ebuild b/dev-scheme/tinyscheme/tinyscheme-1.40.ebuild
new file mode 100644
index 000000000000..3b4b46021d43
--- /dev/null
+++ b/dev-scheme/tinyscheme/tinyscheme-1.40.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/tinyscheme/tinyscheme-1.40.ebuild,v 1.1 2011/02/28 16:45:17 hkbst Exp $
+
+EAPI="3"
+
+DESCRIPTION="Lightweight scheme interpreter"
+HOMEPAGE="http://tinyscheme.sourceforge.net"
+SRC_URI="mirror://sourceforge/tinyscheme/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+#S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+# cp makefile makefile.old
+
+ #separate lines, because shell comments are weak
+ 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
+ sed "s/LD)/& -Wl,-soname,lib${PN}.so.${PV}/" -i makefile
+
+# diff -u makefile.old makefile
+}
+
+src_install() {
+ newbin scheme ${PN} || die "newbin failed"
+ dolib libtinyscheme.a libtinyscheme.so || die "dolib failed"
+ dodoc Manual.txt || die "dodoc failed"
+
+ # Bug 328967: dev-scheme/tinyscheme-1.39-r1 doesn't install header file
+ insinto /usr/include/
+ newins scheme.h tinyscheme.h || die "newins scheme.h tinyscheme.h failed"
+
+ local INIT_DIR=/usr/share/${PN}/
+ insinto ${INIT_DIR}
+ doins init.scm || die "doins failed"
+ dodir /etc/env.d/ && echo "TINYSCHEMEINIT=\"${INIT_DIR}init.scm\"" > "${D}"/etc/env.d/50tinyscheme
+}