summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2008-01-29 10:47:18 +0000
committerMarijn Schouten <hkbst@gentoo.org>2008-01-29 10:47:18 +0000
commit71fd6292d40cb311e23f76ed33477494aa69aac9 (patch)
tree9f90aae0a4c32a535ccc1c9060246771054430b4 /dev-scheme/chicken
parentVersion bump (#207866). (diff)
downloadgentoo-2-71fd6292d40cb311e23f76ed33477494aa69aac9.tar.gz
gentoo-2-71fd6292d40cb311e23f76ed33477494aa69aac9.tar.bz2
gentoo-2-71fd6292d40cb311e23f76ed33477494aa69aac9.zip
bump per bug 207963. Now uses host libpcre.
(Portage version: 2.1.4)
Diffstat (limited to 'dev-scheme/chicken')
-rw-r--r--dev-scheme/chicken/ChangeLog9
-rw-r--r--dev-scheme/chicken/chicken-3.0.0.ebuild63
-rw-r--r--dev-scheme/chicken/files/digest-chicken-3.0.03
3 files changed, 73 insertions, 2 deletions
diff --git a/dev-scheme/chicken/ChangeLog b/dev-scheme/chicken/ChangeLog
index 6c6db1d949d8..3512f60376e4 100644
--- a/dev-scheme/chicken/ChangeLog
+++ b/dev-scheme/chicken/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-scheme/chicken
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/ChangeLog,v 1.17 2007/12/20 14:56:59 hkbst Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/ChangeLog,v 1.18 2008/01/29 10:47:18 hkbst Exp $
+
+*chicken-3.0.0 (29 Jan 2008)
+
+ 29 Jan 2008; Marijn Schouten <hkBst@gentoo.org> +chicken-3.0.0.ebuild:
+ bump per bug 207963. Now uses host libpcre.
20 Dec 2007; Marijn Schouten <hkBst@gentoo.org> chicken-2.731.ebuild:
fix bug 201220, thanks to José Romildo Malaquias <j.romildo@gmail.com> for
diff --git a/dev-scheme/chicken/chicken-3.0.0.ebuild b/dev-scheme/chicken/chicken-3.0.0.ebuild
new file mode 100644
index 000000000000..d47d37f32967
--- /dev/null
+++ b/dev-scheme/chicken/chicken-3.0.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/chicken-3.0.0.ebuild,v 1.1 2008/01/29 10:47:18 hkbst Exp $
+
+inherit multilib elisp-common
+
+DESCRIPTION="Chicken is a Scheme interpreter and native Scheme to C compiler"
+#SRC_URI="http://www.call-with-current-continuation.org/${P}.tar.gz"
+SRC_URI="http://chicken.wiki.br/dev-snapshots/2008/01/29/${P}.tar.gz"
+# http://www.call-with-current-continuation.org/eggs/syntax-case.egg"
+HOMEPAGE="http://www.call-with-current-continuation.org/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="emacs"
+
+DEPEND="dev-libs/libpcre sys-apps/texinfo emacs? ( virtual/emacs )"
+
+SITEFILE=50hen-gentoo.el
+
+src_unpack() {
+ unpack ${A}; cd "${S}"
+# cp defaults.make defaults.make.old
+ sed "s,/lib,/$(get_libdir),g" -i defaults.make
+# diff -u defaults.make.old defaults.make
+}
+
+src_compile() {
+ OPTIONS="PLATFORM=linux PREFIX=/usr"
+
+ emake ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="$CFLAGS" \
+ USE_HOST_PCRE=1 || die
+
+ use emacs && elisp-comp hen.el
+}
+
+# chicken doesn't seem to honor CHICKEN_PREFIX CHICKEN_HOME or LD_LIBRARY_PATH=${S}/.libs/
+RESTRICT=test
+#src_test() {
+# cd tests
+# bash runtests.sh
+#}
+
+src_install() {
+ emake ${OPTIONS} DESTDIR="${D}" install || die
+ dodoc ChangeLog* NEWS
+ dohtml -r html/
+ rm -rf "${D}"/usr/share/chicken/doc
+
+ if use emacs; then
+ elisp-install ${PN} *.{el,elc}
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/dev-scheme/chicken/files/digest-chicken-3.0.0 b/dev-scheme/chicken/files/digest-chicken-3.0.0
new file mode 100644
index 000000000000..0b7e6a9173bf
--- /dev/null
+++ b/dev-scheme/chicken/files/digest-chicken-3.0.0
@@ -0,0 +1,3 @@
+MD5 e6c44d6898d8eca9e7c07fe01370a9d0 chicken-3.0.0.tar.gz 4056471
+RMD160 d015a13bdf7ad627dc7bc03e6880f7aa38f46f37 chicken-3.0.0.tar.gz 4056471
+SHA256 e471990352c5ab875b54e7975c8a444a3951af08051be7489affd9f34b5bf1c4 chicken-3.0.0.tar.gz 4056471