diff options
Diffstat (limited to 'dev-scheme/chicken/chicken-4.0.0.ebuild')
-rw-r--r-- | dev-scheme/chicken/chicken-4.0.0.ebuild | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/dev-scheme/chicken/chicken-4.0.0.ebuild b/dev-scheme/chicken/chicken-4.0.0.ebuild deleted file mode 100644 index 7f45b94ccee3..000000000000 --- a/dev-scheme/chicken/chicken-4.0.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/chicken-4.0.0.ebuild,v 1.3 2009/08/29 21:41:01 flameeyes 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" -HOMEPAGE="http://www.call-with-current-continuation.org/" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86" -IUSE="emacs" - -DEPEND="sys-apps/texinfo - emacs? ( virtual/emacs )" -RDEPEND="emacs? ( virtual/emacs )" - -SITEFILE=50hen-gentoo.el - -src_unpack() { - unpack ${A}; cd "${S}" -# cp defaults.make defaults.make.old - sed "s,\$(PREFIX)/lib,\$(PREFIX)/$(get_libdir)," -i defaults.make - sed "s,\$(DATADIR)/doc,\$(SHAREDIR)/doc/${P}," -i defaults.make -# diff -u defaults.make.old defaults.make -} - -src_compile() { - OPTIONS="PLATFORM=linux PREFIX=/usr" - echo $OPTIONS - #upstream does not support parallel builds, bug 265881 - emake -j1 ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" || die - - if use emacs; then - elisp-compile hen.el || die - fi -} - -# chicken's testsuite is not runnable before install -# upstream has been notified of the issue -RESTRICT=test - -src_install() { - # bug #283158 - emake -j1 ${OPTIONS} DESTDIR="${D}" install || die - - rm "${D}"/usr/share/doc/${P}/LICENSE - dodoc NEWS - - 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 -} |