summaryrefslogtreecommitdiffstats
path: root/funpl
diff options
context:
space:
mode:
authorMichel Alexandre Salim <msalim@cs.indiana.edu>2009-03-01 10:42:07 -0500
committerMichel Alexandre Salim <msalim@cs.indiana.edu>2009-03-01 10:42:07 -0500
commitfd8ef97db0c43ab8939fb5d77718ccc95d2bfb48 (patch)
tree94dc58b132a54344243f895f3fade5d0df8e9d73 /funpl
parentff8362779972229d0df71719a5f9f83f2c35a78e (diff)
downloadspecs-fd8ef97db0c43ab8939fb5d77718ccc95d2bfb48.tar.gz
specs-fd8ef97db0c43ab8939fb5d77718ccc95d2bfb48.tar.xz
specs-fd8ef97db0c43ab8939fb5d77718ccc95d2bfb48.zip
scheme2js
Diffstat (limited to 'funpl')
-rw-r--r--funpl/scheme2js.spec56
1 files changed, 56 insertions, 0 deletions
diff --git a/funpl/scheme2js.spec b/funpl/scheme2js.spec
new file mode 100644
index 0000000..4604a39
--- /dev/null
+++ b/funpl/scheme2js.spec
@@ -0,0 +1,56 @@
+Name: scheme2js
+Version: 20081219
+Release: 1%{?dist}
+Summary: Scheme to JavaScript compiler
+
+Group: Development/Languages
+License: GPLv2
+URL: http://www-sop.inria.fr/mimosa/scheme2js/
+Source0: http://www-sop.inria.fr/mimosa/scheme2js/files/scheme2js-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: bigloo
+#Requires:
+
+%description
+Scheme2Js is a Scheme to JavaScript compiler distributed under the GPL
+license. While some effort has been spent on being as close as
+possible to R5RS, we concentrated mainly on efficiency. Usually
+Scheme2Js produces JavaScript code, that is comparable to hand-written
+code. In order to achieve this performance, Scheme2Js is not
+completely R5RS compliant. In particular it lacks exact
+numbers. Scheme2Js is not yet complete either: it lacks hygienic
+macros and the eval procedure.
+
+
+%prep
+%setup -q
+
+
+%build
+# picks up Bigloo's compiler flags, no need to pass it in
+./configure --prefix=%{_prefix} --mandir=%{_mandir}/man1
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc Changelog doc/index.html LICENSE
+%{_bindir}/%{name}
+%{_datadir}/%{name}
+%{_mandir}/man1/*
+
+
+%changelog
+* Sun Mar 1 2009 Michel Salim <salimma@fedoraproject.org> - 20081219-1
+- Initial package
+