Gentoo Archives: gentoo-commits

From: "Panagiotis Christopoulos (pchrist)" <pchrist@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-scheme/stalin: metadata.xml stalin-0.11.ebuild Manifest ChangeLog
Date: Sun, 01 Jun 2008 17:37:34
Message-Id: E1K2rUl-0002of-W2@stork.gentoo.org
1 pchrist 08/06/01 17:37:27
2
3 Added: metadata.xml stalin-0.11.ebuild Manifest ChangeLog
4 Log:
5 Initial port of dev-scheme/stalin, version 0.11. Updated and moved from the overlay to the main tree
6 (Portage version: 2.1.5.2)
7
8 Revision Changes Path
9 1.1 dev-scheme/stalin/metadata.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/stalin/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/stalin/metadata.xml?rev=1.1&content-type=text/plain
13
14 Index: metadata.xml
15 ===================================================================
16 <?xml version="1.0" encoding="UTF-8"?>
17 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
18 <pkgmetadata>
19 <herd>scheme</herd>
20 <maintainer>
21 <email>pchrist@g.o</email>
22 <name>Panagiotis Christopoulos</name>
23 </maintainer>
24 <longdescription lang="en">
25 Stalin is an aggressively optimizing Scheme compiler. It is the most
26 highly optimizing Scheme compiler, and in fact one of the most highly
27 optimizing compilers of any sort for any language. It was written by
28 Jeffrey M. Siskind.
29 </longdescription>
30 </pkgmetadata>
31
32
33
34
35 1.1 dev-scheme/stalin/stalin-0.11.ebuild
36
37 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/stalin/stalin-0.11.ebuild?rev=1.1&view=markup
38 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/stalin/stalin-0.11.ebuild?rev=1.1&content-type=text/plain
39
40 Index: stalin-0.11.ebuild
41 ===================================================================
42 # Copyright 1999-2008 Gentoo Foundation
43 # Distributed under the terms of the GNU General Public License v2
44 # $Header: /var/cvsroot/gentoo-x86/dev-scheme/stalin/stalin-0.11.ebuild,v 1.1 2008/06/01 17:37:27 pchrist Exp $
45
46 inherit eutils
47
48 DESCRIPTION="An aggressively optimizing Scheme compiler."
49 HOMEPAGE="http://community.schemewiki.org/?Stalin"
50 SRC_URI="ftp://ftp.ecn.purdue.edu/qobi/${P}.tgz"
51 LICENSE="GPL-3"
52 SLOT="0"
53 KEYWORDS="~x86"
54 IUSE=""
55 RESTRICT="strip"
56 RDEPEND="x11-libs/libX11"
57 DEPEND="${RDEPEND}"
58
59 src_unpack() {
60 unpack ${A}
61 cd "${S}"
62 sed -i -e 's/-O3 -fomit-frame-pointer/$(CFLAGS)/' makefile
63 }
64
65 pkg_setup() {
66 ewarn "Stalin is an ugly beast, which will eat all your memory and stress your"
67 ewarn "processor to levels you have never experienced. If you want to abort,"
68 ewarn "please do it now. You have been warned."
69 epause 10
70 }
71
72 src_compile() {
73 einfo "Beginning of stalin's compilation process. It may take several minutes."
74 ./build || die "Stalin's compilation failed"
75 }
76
77 src_test() {
78 einfo "This may take REALLY much time and requires"
79 einfo "possibly more than 2Gb of RAM+swap."
80 cd benchmarks
81 ./compile-and-run-stalin-old-benchmarks || die "old benchmarks failed"
82 #./compile-and-run-stalin-bcl-benchmarks || die "bcl bechmarks failed"
83 #./compile-and-run-stalin-fdlcc-benchmarks || die "fdlcc benchmarks failed"
84 }
85
86 src_install() {
87 pushd include
88 dodir /usr/include/${PN}
89 insinto /usr/include/${PN}
90 doins gc.h gc_config_macros.h
91 dodir /usr/lib/${PN}
92 insinto /usr/lib/${PN}
93 doins libgc.a libstalin.a stalin stalin-architecture-name \
94 stalin.architectures QobiScheme.sc xlib.sc xlib-original.sc \
95 Scheme-to-C-compatibility.sc
96 fperms 755 /usr/lib/${PN}/stalin \
97 /usr/lib/${PN}/stalin-architecture-name
98 popd
99 (
100 cat <<'EOF'
101 #!/bin/bash
102
103 exec /usr/lib/stalin/stalin -I /usr/include/stalin \
104 -I /usr/lib/stalin -copt -fno-strict-aliasing $@
105
106 EOF
107 ) > stalin
108 exeinto /usr/bin
109 doexe stalin
110 doman stalin.1
111 dodoc ANNOUNCEMENT MORE README
112 pushd benchmarks
113 sed -i -e 's/..\/stalin/stalin/' make-hello
114 dodoc hello.sc make-hello
115 popd
116 }
117
118 pkg_postinst() {
119 elog "In ${ROOT}/usr/share/doc/${PF} you will find the make-hello and"
120 elog "hello.sc files(compressed). If you put them in the same directory"
121 elog "and run make.hello, it will produce a \"hello\" executable."
122 elog "The \"make-hello\" file can be used as an example of how to use"
123 elog "stalin to compile code and create efficient executables. "
124 elog "man stalin , for documentation"
125 }
126
127
128
129
130 1.1 dev-scheme/stalin/Manifest
131
132 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/stalin/Manifest?rev=1.1&view=markup
133 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/stalin/Manifest?rev=1.1&content-type=text/plain
134
135 Index: Manifest
136 ===================================================================
137 DIST stalin-0.11.tgz 5392735 RMD160 5276dce6ae27e495eb27a1a79e8f3b22e26e112f SHA1 f1e6107685c9070c84cb9002030b06a9814337c9 SHA256 95eafb4fa870cb93f5d79b8935c42664cf54f227b2c7eacf7b55b06b33e1e3fe
138 EBUILD stalin-0.11.ebuild 2389 RMD160 acb63dc44c44e95ced29a4ae34ee2c8d5f01d680 SHA1 a1efe49e494d83a53ffe77bdb65296c6a92c5762 SHA256 fa5c9faca01e0c73530f39fba0e33e66dd32c92896eabf2d23ed3ac2a2003d3e
139 MISC ChangeLog 336 RMD160 d9f43cc00a829e164cdb7057939191df483f2bbd SHA1 77b19eef80fa69fc952d9dbf4db0478779c07687 SHA256 815ac54c8663f90fcbb97f9593ec87113698f2e64da112849211ad4991f7b0ab
140 MISC metadata.xml 552 RMD160 8f82f788aa693fa7818afe71a57b4ce91c8e0b97 SHA1 0b63c10ab0a791bee89a268132b7653cfdc56128 SHA256 c1426710f72a427a727ba4cfc25562f739feb396e6cf48dd3f60b21ed69af61e
141
142
143
144 1.1 dev-scheme/stalin/ChangeLog
145
146 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/stalin/ChangeLog?rev=1.1&view=markup
147 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/stalin/ChangeLog?rev=1.1&content-type=text/plain
148
149 Index: ChangeLog
150 ===================================================================
151 # ChangeLog for dev-scheme/stalin
152 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
153 # $Header: /var/cvsroot/gentoo-x86/dev-scheme/stalin/ChangeLog,v 1.1 2008/06/01 17:37:27 pchrist Exp $
154
155 *stalin-0.11 (01 Jun 2008)
156
157 01 Jun 2008; Panagiotis Christopoulos <pchrist@g.o>
158 +stalin-0.11.ebuild:
159 Initial port of dev-scheme/stalin, version 0.11. Updated and moved from
160 the overlay to the main tree
161
162
163
164
165 --
166 gentoo-commits@l.g.o mailing list