diff options
author | Marijn Schouten <hkbst@gentoo.org> | 2008-03-26 09:48:27 +0000 |
---|---|---|
committer | Marijn Schouten <hkbst@gentoo.org> | 2008-03-26 09:48:27 +0000 |
commit | c3b37ab22e7cd96d49a624c131659d00c943721b (patch) | |
tree | 81fb62e7561f2e22e057b330327edbd0da419538 /dev-scheme | |
parent | x11-libs/gtk+: fix cups support (fixes bug #214017, patch by Octavio Ruiz) (diff) | |
download | gentoo-2-c3b37ab22e7cd96d49a624c131659d00c943721b.tar.gz gentoo-2-c3b37ab22e7cd96d49a624c131659d00c943721b.tar.bz2 gentoo-2-c3b37ab22e7cd96d49a624c131659d00c943721b.zip |
bump, hopefully this version can go stable in a few weeks
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/chicken/ChangeLog | 8 | ||||
-rw-r--r-- | dev-scheme/chicken/chicken-3.1.0.ebuild | 72 |
2 files changed, 79 insertions, 1 deletions
diff --git a/dev-scheme/chicken/ChangeLog b/dev-scheme/chicken/ChangeLog index 56c5defe2c0a..a132cd38d456 100644 --- a/dev-scheme/chicken/ChangeLog +++ b/dev-scheme/chicken/ChangeLog @@ -1,6 +1,12 @@ # 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.20 2008/03/23 09:12:57 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/ChangeLog,v 1.21 2008/03/26 09:48:27 hkbst Exp $ + +*chicken-3.1.0 (26 Mar 2008) + + 26 Mar 2008; Marijn Schouten <hkBst@gentoo.org> +chicken-3.1.0.ebuild: + bump, hopefully this version can go stable in a few weeks 23 Mar 2008; Christian Faulhammer <opfer@gentoo.org> ChangeLog: fix ChangeLog diff --git a/dev-scheme/chicken/chicken-3.1.0.ebuild b/dev-scheme/chicken/chicken-3.1.0.ebuild new file mode 100644 index 000000000000..6f3a3093c85c --- /dev/null +++ b/dev-scheme/chicken/chicken-3.1.0.ebuild @@ -0,0 +1,72 @@ +# 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.1.0.ebuild,v 1.1 2008/03/26 09:48:27 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 + + 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() { + 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} *.{el,elc} + elisp-site-file-install "${FILESDIR}"/${SITEFILE} + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |