diff options
author | Panagiotis Christopoulos <pchrist@gentoo.org> | 2008-05-31 21:17:59 +0000 |
---|---|---|
committer | Panagiotis Christopoulos <pchrist@gentoo.org> | 2008-05-31 21:17:59 +0000 |
commit | c9ee9aae81fcd1144c084b5f455271ee703e65b7 (patch) | |
tree | d8f6760d3b4a35596f9611bdbe91ca765fb0e61f /dev-scheme/ikarus | |
parent | Move to git repo and apply fix by Cyberjun #219711. (diff) | |
download | historical-c9ee9aae81fcd1144c084b5f455271ee703e65b7.tar.gz historical-c9ee9aae81fcd1144c084b5f455271ee703e65b7.tar.bz2 historical-c9ee9aae81fcd1144c084b5f455271ee703e65b7.zip |
Initial Commit of dev-scheme/ikarus. Ebuild first written by Marijn Schouten <hkBst@gentoo.org> and updated by me. Moved from the overlay to the main tree.
Package-Manager: portage-2.1.5.2
Diffstat (limited to 'dev-scheme/ikarus')
-rw-r--r-- | dev-scheme/ikarus/ChangeLog | 13 | ||||
-rw-r--r-- | dev-scheme/ikarus/Manifest | 6 | ||||
-rw-r--r-- | dev-scheme/ikarus/files/ikarus-0.0.3-cpu_has_sse2.patch | 12 | ||||
-rw-r--r-- | dev-scheme/ikarus/files/ikarus-0.0.3-ikarus-enter.patch | 13 | ||||
-rw-r--r-- | dev-scheme/ikarus/ikarus-0.0.3.ebuild | 58 | ||||
-rw-r--r-- | dev-scheme/ikarus/metadata.xml | 15 |
6 files changed, 117 insertions, 0 deletions
diff --git a/dev-scheme/ikarus/ChangeLog b/dev-scheme/ikarus/ChangeLog new file mode 100644 index 000000000000..6fb99bc66abc --- /dev/null +++ b/dev-scheme/ikarus/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for dev-scheme/ikarus +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/ikarus/ChangeLog,v 1.1 2008/05/31 21:17:57 pchrist Exp $ + +*ikarus-0.0.3 (31 May 2008) + + 31 May 2008; Panagiotis Christopoulos <pchrist@gentoo.org> + +files/ikarus-0.0.3-cpu_has_sse2.patch, + +files/ikarus-0.0.3-ikarus-enter.patch, +ikarus-0.0.3.ebuild: + Initial Commit of dev-scheme/ikarus. Ebuild first written by Marijn + Schouten <hkBst@gentoo.org> and updated by me. Moved from the overlay to + the main tree. + diff --git a/dev-scheme/ikarus/Manifest b/dev-scheme/ikarus/Manifest new file mode 100644 index 000000000000..bcabc03ddb29 --- /dev/null +++ b/dev-scheme/ikarus/Manifest @@ -0,0 +1,6 @@ +AUX ikarus-0.0.3-cpu_has_sse2.patch 404 RMD160 abc9169cca34c3d1e50622453f4561fd49d4e18b SHA1 846e0eaf49b96e9ff50e07a3e441e15ab606e9ad SHA256 a4786d8e004551098f4f5a5cf7fd709f2bf582d636f2c6b2b896099f7f85cff1 +AUX ikarus-0.0.3-ikarus-enter.patch 406 RMD160 4deae867aa44ea48344cd43daedf0421fb9de265 SHA1 ce3223f6d74ef6eca2317b3ff097baa7fd86f2e2 SHA256 4874787891d3592d23ebfbbb10021d0b4f1fcc744ff1371ab7564ea5328c391b +DIST ikarus-0.0.3.tar.gz 3948264 RMD160 14556030c1e6fb6e742175ae3902920856c274e3 SHA1 86753288203710b194ac6acf55354e8a2028dcae SHA256 5b6ed66ed7a6f63aaff2803cc3e675cb38368300b189ac1ea06948eb30c79b34 +EBUILD ikarus-0.0.3.ebuild 1322 RMD160 92e49cc9f3d674e74ee0cd5e9a4cbff7c5307a69 SHA1 21d5f750be463e2a776091527502d7d6dfe2bfbb SHA256 1bbbb9a2c29742559e3654b90d5784e6f29a36dd6778d45aced871aed9d0def6 +MISC ChangeLog 567 RMD160 6013cbe303cc8f0a25615c357ed5cf2c3daa2444 SHA1 86a2bb618cde772a0031531c7f936d49dcc97471 SHA256 6e0d694ed4240dc352d6732bffed69dd0d7f16869945505e4cf4de1503d18915 +MISC metadata.xml 473 RMD160 eab9533a8d904541c699e4ebf65f8eb3903105c6 SHA1 41049404df02080091c08aecd68021719dec141d SHA256 2dbcbbaa4ada4376719a66189523f88f2bc6956dfc4fb744de4b5e5d98c604e4 diff --git a/dev-scheme/ikarus/files/ikarus-0.0.3-cpu_has_sse2.patch b/dev-scheme/ikarus/files/ikarus-0.0.3-cpu_has_sse2.patch new file mode 100644 index 000000000000..318e475ace0f --- /dev/null +++ b/dev-scheme/ikarus/files/ikarus-0.0.3-cpu_has_sse2.patch @@ -0,0 +1,12 @@ +--- src/cpu_has_sse2.S 2008-01-29 04:44:10.000000000 +0000 ++++ /tmp/cpu_has_sse2.S 2008-05-31 18:29:00.000000000 +0000 +@@ -13,6 +13,9 @@ + # You should have received a copy of the GNU General Public License + # along with this program. If not, see <http://www.gnu.org/licenses/>. + ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif + + .text + .globl cpu_has_sse2 diff --git a/dev-scheme/ikarus/files/ikarus-0.0.3-ikarus-enter.patch b/dev-scheme/ikarus/files/ikarus-0.0.3-ikarus-enter.patch new file mode 100644 index 000000000000..21dbd4ed3ea3 --- /dev/null +++ b/dev-scheme/ikarus/files/ikarus-0.0.3-ikarus-enter.patch @@ -0,0 +1,13 @@ +--- src/ikarus-enter.S 2008-01-29 04:44:17.000000000 +0000 ++++ /tmp/ikarus-enter.S 2008-05-31 18:28:09.000000000 +0000 +@@ -13,7 +13,9 @@ + # You should have received a copy of the GNU General Public License + # along with this program. If not, see <http://www.gnu.org/licenses/>. + +- ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif + + .text + .globl ik_asm_enter diff --git a/dev-scheme/ikarus/ikarus-0.0.3.ebuild b/dev-scheme/ikarus/ikarus-0.0.3.ebuild new file mode 100644 index 000000000000..f4c1a515cb17 --- /dev/null +++ b/dev-scheme/ikarus/ikarus-0.0.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/ikarus/ikarus-0.0.3.ebuild,v 1.1 2008/05/31 21:17:57 pchrist Exp $ + +inherit eutils flag-o-matic autotools + +DESCRIPTION="Ikarus is a free optimizing incremental native-code compiler for R6RS Scheme." +HOMEPAGE="http://www.cs.indiana.edu/~aghuloum/ikarus/" +SRC_URI="http://www.cs.indiana.edu/~aghuloum/ikarus/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" + +KEYWORDS="-* ~x86" +IUSE="sse2 doc" + +RDEPEND=">=dev-libs/gmp-4.2.2" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e 's/-O3//' configure.ac + epatch "${FILESDIR}/${P}-cpu_has_sse2.patch" + epatch "${FILESDIR}/${P}-ikarus-enter.patch" + eautoreconf || die "autoconf failed" +} + +src_compile() { + if use !sse2; then \ + eerror "You must have a processor who supports \ + SSE2 instructions" && die + fi + + append-flags "-std=gnu99" + + econf || die "econf failed" + emake || die "emake failed" +} + +src_test() { + cd benchmarks + make benchall || die "Tests failed" + if [ -e timelog ] + then + cat timelog || die "stdout test logs failed." + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + rm -R "${D}/usr/share" + dodoc README ACKNOWLEDGMENTS + if use doc; then + dodoc doc/*.pdf + fi +} + diff --git a/dev-scheme/ikarus/metadata.xml b/dev-scheme/ikarus/metadata.xml new file mode 100644 index 000000000000..09e0bb5b7065 --- /dev/null +++ b/dev-scheme/ikarus/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>scheme</herd> + <maintainer> + <email>pchrist@gentoo.org</email> + <name>Panagiotis Christopoulos</name> + </maintainer> + <longdescription lang="en"> + Ikarus Scheme is a free optimizing incremental native-code compiler for + Scheme as specified in the Revised-6 Report on the Algorithmic Language + Scheme. + </longdescription> +</pkgmetadata> + |