summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2008-05-01 21:32:26 +0000
committerMarijn Schouten <hkbst@gentoo.org>2008-05-01 21:32:26 +0000
commit9936c7016e232d9bce89d7d719b34bbe812ba3f6 (patch)
tree050d9c28cac339797d633f0e97f2d8cb1b5a759f /dev-scheme
parentmask stumpwm-cvs (diff)
downloadgentoo-2-9936c7016e232d9bce89d7d719b34bbe812ba3f6.tar.gz
gentoo-2-9936c7016e232d9bce89d7d719b34bbe812ba3f6.tar.bz2
gentoo-2-9936c7016e232d9bce89d7d719b34bbe812ba3f6.zip
bump
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/chicken/ChangeLog7
-rw-r--r--dev-scheme/chicken/chicken-3.2.0.ebuild74
2 files changed, 80 insertions, 1 deletions
diff --git a/dev-scheme/chicken/ChangeLog b/dev-scheme/chicken/ChangeLog
index b3baea4033b5..73c53bcb5ac6 100644
--- a/dev-scheme/chicken/ChangeLog
+++ b/dev-scheme/chicken/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-scheme/chicken
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/ChangeLog,v 1.27 2008/04/22 11:48:22 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/ChangeLog,v 1.28 2008/05/01 21:32:26 hkbst Exp $
+
+*chicken-3.2.0 (01 May 2008)
+
+ 01 May 2008; Marijn Schouten <hkBst@gentoo.org> +chicken-3.2.0.ebuild:
+ bump
22 Apr 2008; Ulrich Mueller <ulm@gentoo.org> -chicken-1.89.ebuild,
-chicken-2.2.ebuild, -chicken-2.3.ebuild, -chicken-2.5.ebuild,
diff --git a/dev-scheme/chicken/chicken-3.2.0.ebuild b/dev-scheme/chicken/chicken-3.2.0.ebuild
new file mode 100644
index 000000000000..b917b0dabdee
--- /dev/null
+++ b/dev-scheme/chicken/chicken-3.2.0.ebuild
@@ -0,0 +1,74 @@
+# 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.2.0.ebuild,v 1.1 2008/05/01 21:32:26 hkbst Exp $
+
+inherit multilib elisp-common
+
+DESCRIPTION="Chicken is a Scheme interpreter and native Scheme to C compiler"
+SRC_URI="http://chicken.wiki.br/releases/${PV}/${P}.tar.gz"
+HOMEPAGE="http://www.call-with-current-continuation.org/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
+IUSE="emacs"
+
+DEPEND=">=dev-libs/libpcre-7.6
+ sys-apps/texinfo
+ emacs? ( virtual/emacs )"
+
+SITEFILE=50hen-gentoo.el
+
+src_unpack() {
+ unpack ${A}; cd "${S}"
+ sed "s:/lib:/$(get_libdir):g" -i defaults.make
+}
+
+src_compile() {
+ # $A is used by the makefile so >_>
+ unset A
+
+ OPTIONS="PLATFORM=linux PREFIX=/usr USE_HOST_PCRE=1"
+ echo $OPTIONS
+ emake ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" || die
+
+ if use emacs; then
+ elisp-compile hen.el || die
+ fi
+}
+
+# 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() {
+ unset A
+
+ emake ${OPTIONS} DESTDIR="${D}" install || die
+ dodoc ChangeLog* NEWS
+ dohtml -r html/
+ rm -rf "${D}"/usr/share/chicken/doc
+
+ # put a .keep in the default egg repository
+# touch .keep
+# insinto /usr/$(get_libdir)/chicken/3
+# doins .keep
+
+ keepdir /usr/$(get_libdir)/chicken/3
+
+ if use emacs; then
+ elisp-install ${PN} hen.{el,elc} || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}