diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-scheme/ikarus |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-scheme/ikarus')
-rw-r--r-- | dev-scheme/ikarus/Manifest | 7 | ||||
-rw-r--r-- | dev-scheme/ikarus/files/ikarus-0.0.3_p1870-cpu_has_sse2.patch | 12 | ||||
-rw-r--r-- | dev-scheme/ikarus/files/ikarus-0.0.3_p1870-ikarus-enter.patch | 13 | ||||
-rw-r--r-- | dev-scheme/ikarus/ikarus-0.0.3_p1870.ebuild | 63 | ||||
-rw-r--r-- | dev-scheme/ikarus/metadata.xml | 17 |
5 files changed, 112 insertions, 0 deletions
diff --git a/dev-scheme/ikarus/Manifest b/dev-scheme/ikarus/Manifest new file mode 100644 index 000000000000..cc4450d8b2ed --- /dev/null +++ b/dev-scheme/ikarus/Manifest @@ -0,0 +1,7 @@ +AUX ikarus-0.0.3_p1870-cpu_has_sse2.patch 407 SHA256 b9dab78bae863214bf512e2c5b0371a1984db0f63942f00297a82aba155829ee SHA512 566cb42b563cc8449fc669ee3478df98ac36540d86f502c095ccea1da34818cf4fcd864dd757375eed682358f43bc5b83060eb98e90bcc8d6baa473305fffacf WHIRLPOOL 8a2ff89a2cf2aefcf6789cfae70bc4416aa1a23dbdff7e020b5da3c0727d7f3a550df6b45ae4531ee4ddcc48930d5ba0f4ed01edf4bb468dd594e2563e946ae4 +AUX ikarus-0.0.3_p1870-ikarus-enter.patch 409 SHA256 56bd469abbcc98d4e30b9125b65a48e484d21c09c072a718d043142d3c625f78 SHA512 b0d4840b42a3aa30a6b7b0eaefce24889910dd0c7785bdec6c3b65c7f15b32009c9f72b0172f8f4b17d9e9de969884bccde1c157da75bffc2a02591c29d7fd32 WHIRLPOOL 96c4fbab476e76b39717bafc6d97e4a27039370e9e3cbbbda47ea1c8d6cd36010e2b71225a5ca1c1ccc5a22b78ac9123ebd602fc97b6d4b7df1f01c8baa56d72 +DIST ikarus-scheme-r1870.tgz 9397981 SHA256 cc4a2a23517a485d5ddbde87d9e504fb618e30b1f6d661e7c7b5061c19a3ca82 SHA512 5ab962c7234c7417d3898d467c6c876cc7891a2288c1dc7a6002076de382f90c41cf277a1798639395dd69262fecd304b7a1024f47e2209049fc2265bd9d938d WHIRLPOOL 43fca09dc034660862ad71045fced208ac8cbeb431bbae8f04c31b4b033e3b800cba911c1ee4358398ba72617c493e44bab4c644a10002b8c75925737214206a +EBUILD ikarus-0.0.3_p1870.ebuild 1308 SHA256 8386bc48818e67bc6e958177ecabf5238f0d564875c02d44af9fb13b8272b92c SHA512 807102a54ff7915a05b14b19b2aef9b86af659cd9a0b5f581e49888d46530ce70d46dd974cac3077fc13866de3b6f318ab54040b4e4250c929cd80d16f15c6ee WHIRLPOOL dabfff3e0fb5c454c97f31af90c06a0840deb9523e5f5791fb27ffe0e771356fd036fc2e16703169da141dc98b6db6713c1a7fc64c3a19d6ba11b33a538d7983 +MISC ChangeLog 2927 SHA256 2fa2706bbd996682d40a439b09256c17f60bdfa473d0fbad1643acd4da3e6808 SHA512 2d465f5d49791d6e8f9fe2f55355fa1198953dffe1ecc278fec648d9dcc85f14b52a7f548ec326e732efca1db55fda8389bb4c644374481bd989ff923038ef7e WHIRLPOOL 4e71dbf796ed1aa51e4184ee95663c295ec3413d112c4e34bc4877c15d677c71760e311c2686a13df2f04cc0d8d93e77beee00bbfd4b0d568dbe1371de4b47e4 +MISC ChangeLog-2015 1438 SHA256 ceebd75e333fc5c6afe7a3ca0059265c820c1c75d3b36987a9d2a3d8cffb77cf SHA512 a5227efb7f8a13cf968706d878dcaae34cfc62e7a267c66c5c3ca0612bdbdd3cfb910f8c04c4472f96ef81dfa5b1686429e2f6ea10782729edc73cfdd88cd7e5 WHIRLPOOL 01c6e75fbdd3bddfcf7ec2c8d94991dd5cae4f2443fc19ca562cd097e5699b5e00e0469abea8c77ddecda97398c14664f80a0b434129a53d4e7987d62495bf1d +MISC metadata.xml 581 SHA256 18ceb2c17c437cec9febfd4b0499b14cd29f2f7667a0b649d39d2321679a33d1 SHA512 028ca8b08aa1dd93e258e78591efa65357b033e81188d63f23bc7044ca4e4f0dcd06c552c0b7962525675a518332870f48e87deae8a331cc900265cf39251ed1 WHIRLPOOL 02847fa6a731c64c87479ccbac77cf6a84f8602ff0a8eed91457ebc0307fe808e56c4215055e0cee3c0979dbeb7af1d6db760fffe08ac8da9a40dc670f40dc7a diff --git a/dev-scheme/ikarus/files/ikarus-0.0.3_p1870-cpu_has_sse2.patch b/dev-scheme/ikarus/files/ikarus-0.0.3_p1870-cpu_has_sse2.patch new file mode 100644 index 000000000000..d66989671e32 --- /dev/null +++ b/dev-scheme/ikarus/files/ikarus-0.0.3_p1870-cpu_has_sse2.patch @@ -0,0 +1,12 @@ +--- a/src/cpu_has_sse2.S 2008-01-29 04:44:10.000000000 +0000 ++++ b/src/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_p1870-ikarus-enter.patch b/dev-scheme/ikarus/files/ikarus-0.0.3_p1870-ikarus-enter.patch new file mode 100644 index 000000000000..2bdd780d7490 --- /dev/null +++ b/dev-scheme/ikarus/files/ikarus-0.0.3_p1870-ikarus-enter.patch @@ -0,0 +1,13 @@ +--- a/src/ikarus-enter.S 2008-01-29 04:44:17.000000000 +0000 ++++ b/src/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_p1870.ebuild b/dev-scheme/ikarus/ikarus-0.0.3_p1870.ebuild new file mode 100644 index 000000000000..7867078131bc --- /dev/null +++ b/dev-scheme/ikarus/ikarus-0.0.3_p1870.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="3" + +inherit eutils flag-o-matic autotools versionator + +MY_PV=$(get_version_component_range 4-) +MY_PV=${MY_PV/p/} + +MY_P=${PN}-scheme-r${MY_PV} + +DESCRIPTION="A free optimizing incremental native-code compiler for R6RS Scheme" +HOMEPAGE="http://ikarus-scheme.org/" +SRC_URI="http://ikarus-scheme.org/ikarus.dev/${MY_P}.tgz" + +LICENSE="GPL-3" +SLOT="0" + +KEYWORDS="-* ~x86" +IUSE="cpu_flags_x86_sse2 doc" + +RDEPEND=">=dev-libs/gmp-4.2.2" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -i -e 's/-O3//' configure.ac || die + epatch "${FILESDIR}/${P}-cpu_has_sse2.patch" + epatch "${FILESDIR}/${P}-ikarus-enter.patch" + + eautoreconf +} + +src_compile() { + if use !cpu_flags_x86_sse2; then \ + eerror "You must have a processor who supports \ + SSE2 instructions" && die + fi + + append-flags "-std=gnu99" + + 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 -Rf "${D}/usr/share" + dodoc README ACKNOWLEDGMENTS || die "dodoc failed" + if use doc; then + dodoc doc/*.pdf || die "dodoc failed" + fi +} diff --git a/dev-scheme/ikarus/metadata.xml b/dev-scheme/ikarus/metadata.xml new file mode 100644 index 000000000000..60c1a3d3b2b9 --- /dev/null +++ b/dev-scheme/ikarus/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>pchrist@gentoo.org</email> + <name>Panagiotis Christopoulos</name> + </maintainer> + <maintainer type="project"> + <email>scheme@gentoo.org</email> + <name>Gentoo Scheme Project</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> |