From: "Ian Delaney" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/chicken/
Date: Sat, 17 Oct 2015 00:48:43 +0000 (UTC) [thread overview]
Message-ID: <1445042914.08db0a2d383e2e8e62259ef2ae6d42b0b3c30d09.idella4@gentoo> (raw)
commit: 08db0a2d383e2e8e62259ef2ae6d42b0b3c30d09
Author: Ian Delaney <idella4 <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 17 00:46:28 2015 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Sat Oct 17 00:48:34 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08db0a2d
dev-scheme/chicken: revbump
drop use of parallel-build and the -parallel-build.patch by request
of proxy maintainer via the gentoo bug, also many stylistic and qa
improvements to the code of the ebuild
Gentoo bug: #467966
Package-Manager: portage-2.2.20.1
dev-scheme/chicken/chicken-4.10.0-r1.ebuild | 67 +++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
diff --git a/dev-scheme/chicken/chicken-4.10.0-r1.ebuild b/dev-scheme/chicken/chicken-4.10.0-r1.ebuild
new file mode 100644
index 0000000..dc5992d
--- /dev/null
+++ b/dev-scheme/chicken/chicken-4.10.0-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils multilib versionator
+
+MY_PV=$(get_version_component_range 1-3)
+DESCRIPTION="Chicken is a Scheme interpreter and native Scheme to C compiler"
+HOMEPAGE="http://www.call-cc.org/"
+SRC_URI="http://code.call-cc.org/releases/${MY_PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
+IUSE="emacs doc"
+DOCS=( NEWS README LICENSE )
+
+DEPEND="sys-apps/texinfo
+ emacs? ( virtual/emacs )"
+RDEPEND="emacs? ( virtual/emacs
+ app-emacs/scheme-complete )"
+
+src_prepare() {
+ #Because chicken's Upstream is in the habit of using variables that
+ #portage also uses :( eg. $ARCH and $A
+ sed "s,A\(\s?=\|)\),chicken&," \
+ -i Makefile.cross-linux-mingw defaults.make rules.make || die
+ sed "s,ARCH,zARCH," \
+ -i Makefile.* defaults.make rules.make || die
+ sed -e "s,\$(PREFIX)/lib,\$(PREFIX)/$(get_libdir)," \
+ -e "s,\$(DATADIR)/doc,\$(SHAREDIR)/doc/${PF}," \
+ -i defaults.make || die
+
+ # remove HTML documentation if the user doesn't USE=doc
+ if ! use "doc"
+ then
+ rm -rf manual-html || die
+ fi
+}
+
+src_compile() {
+ OPTIONS="-j1 PLATFORM=linux PREFIX=/usr"
+
+ emake ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \
+ LINKER_OPTIONS="${LDFLAGS}" \
+ HOSTSYSTEM="${CBUILD}"
+}
+
+# chicken's testsuite is not runnable before install
+# upstream has been notified of the issue
+RESTRICT=test
+
+src_install() {
+ # still can't run make in parallel for the install target
+ emake -j1 ${OPTIONS} DESTDIR="${D}" HOSTSYSTEM="${CBUILD}" \
+ LINKER_OPTIONS="${LDFLAGS}" install
+
+ dodoc ${DOCS}
+
+ if use "doc"
+ then
+ dodoc -r manual-html
+ fi
+
+}
next reply other threads:[~2015-10-17 0:48 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-17 0:48 Ian Delaney [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-10-21 12:28 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/chicken/ Tobias Klausmann
2015-10-23 10:34 Agostino Sarubbo
2015-11-01 13:10 Mikle Kolyada
2015-11-04 14:26 Agostino Sarubbo
2015-11-13 9:48 Agostino Sarubbo
2015-11-15 1:03 Ian Delaney
2015-12-21 14:25 Patrick Lauer
2016-10-05 7:57 Patrice Clement
2018-03-15 20:39 Maxim Koltsov
2018-03-15 21:07 Maxim Koltsov
2018-03-15 21:22 Mikle Kolyada
2018-03-18 10:33 Sergei Trofimovich
2018-03-31 10:11 Tobias Klausmann
2018-06-11 15:07 Aaron Bauman
2021-11-19 13:46 Akinori Hattori
2021-11-19 13:46 Akinori Hattori
2021-11-19 13:46 Akinori Hattori
2021-11-19 13:46 Akinori Hattori
2021-11-19 13:46 Akinori Hattori
2021-11-19 13:46 Akinori Hattori
2021-11-19 15:51 Akinori Hattori
2021-11-28 13:10 Akinori Hattori
2022-04-01 5:15 Arthur Zamarin
2022-04-01 12:06 Arthur Zamarin
2022-04-02 8:03 Agostino Sarubbo
2022-04-02 15:52 Agostino Sarubbo
2022-04-16 2:10 Akinori Hattori
2022-05-23 14:05 Yixun Lan
2022-05-23 14:26 Jakov Smolić
2024-08-24 15:44 Maciej Barć
2024-10-01 1:11 Sam James
2024-10-01 1:11 Sam James
2024-10-01 1:11 Sam James
2024-10-01 1:11 Sam James
2025-08-26 13:14 Maciej Barć
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1445042914.08db0a2d383e2e8e62259ef2ae6d42b0b3c30d09.idella4@gentoo \
--to=idella4@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox