smarteiffel stable port information

Package: smarteiffel
Version: 1.1
Revision: 1
Conflicts: smalleiffel
Replaces: smalleiffel
Description: GNU Eiffel compiler, version 1.1
DescDetail: <<
SmartEiffel (previously known as SmallEiffel) is intended to be a
complete, though small and very fast, free Eiffel compiler; it is the
result of a research project of the LORIA, a joint computer science
research center in Nancy, France. The current distribution includes
compilers from Eiffel to C and Java bytecode, debugger, documentation
tool, pretty printer and various other tools.
<<
License: GPL
DescPackaging: <<
Small patches to get things to work with files in good locations
<<
#
Source: ftp://ftp.loria.fr/pub/loria/SmartEiffel/Oldies/se-%v.tar.bz2
Source-MD5: babb4fd865abf3251a35e819204470e3
SourceDirectory: SmartEiffel
BuildDepends: fink (>= 0.24.12)
PatchFile: %n.patch
PatchFile-MD5: 04814c3e7d2795a5fd8bf4069f08d4ab
PatchScript: sed -e 's:@@PREFIX@@:%p:g' <%{PatchFile} | patch -p1
#
CompileScript: <<
cc -o se_install install.c
(echo ''; echo '1'; echo '1'; echo '%b/fink-compiletime-serc'; echo ''; echo '4'; echo '5'; echo ''; echo '6') | ./se_install
<<
#
InstallScript: <<
mkdir -p %i/lib/%n
cp -R lib/* %i/lib/%n/
mkdir -p %i/bin
rm -f bin/README.txt
install -m 755 bin/* %i/bin/
mkdir -p %i/share/%n
cp -R contrib misc short sys tools tutorial %i/share/%n
mkdir -p %i/share/doc/%n
cp -R man %i/share/doc/%n/
mkdir -p %i/etc/profile.d
install -m 755 %n.sh %i/etc/profile.d/
install -m 755 %n.csh %i/etc/profile.d/
install -m 755 fink-serc %i/etc/serc
<<
#
DocFiles: COPYING GNU_LICENSE READ_ME index.html
Homepage: http://SmartEiffel.loria.fr/
Maintainer: Damien Pollet

smarteiffel stable port .patch

diff -ruN SmartEiffel/fink-serc SmartEiffel-patched/fink-serc
--- SmartEiffel/fink-serc Thu Jan 1 01:00:00 1970
+++ SmartEiffel-patched/fink-serc Fri Jun 20 01:02:34 2003
@@ -0,0 +1,130 @@
+-- This is the configuration file of SmartEiffel, generated by the
+-- SmartEiffel installer.
+-- If you have any problems or questions, please:
+-- - either look at the SmartEiffel site (http://SmartEiffel.loria.fr)
+-- - or contact the SmartEiffel team (SmartEiffel@loria.fr)
+-- ======================================================================= --
+[General]
+
+-- This section contains some general-purpose keys. They describe how is the
+-- SmartEiffel distribution arranged, and on which operating system it was
+-- installed.
+
+-- The 'bin' key is the path to the directory that contains the SmartEiffel
+-- directory. It is used by 'compile' to find 'compile_to_c'.
+
+-- The 'sys' directory is used to find the C and Java files used by the
+-- compilers.
+
+-- The 'short' directory is used by the 'short' utility to fotmat the output.
+
+-- The 'os' key tells on which system SmartEiffel is installed on.
+
+-- At last, 'tag' gives the version of install configuration (used only by the
+-- installer)
+
+bin: @@PREFIX@@/bin/
+sys: @@PREFIX@@/share/smarteiffel/sys/
+short: @@PREFIX@@/share/smarteiffel/short/
+os: UNIX
+tag: 1
+
+[Loadpath]
+
+-- This section contains the default loadpaths used by this SmartEiffel
+-- installation.
+
+-- The key is a mere description and serves no other purpose,
+
+-- The value of the key is the path to a loadpath file.
+
+-- Note that the loadpath files ar read in the order given below.
+
+lib: @@PREFIX@@/lib/smarteiffel/loadpath.se
+tools: @@PREFIX@@/share/smarteiffel/tools/loadpath.se
+tutorial: @@PREFIX@@/share/smarteiffel/tutorial/loadpath.se
+
+
+-- ======================================================================= --
+
+-- Below are the "C mode" sections. Each C mode describes which C compiler must
+-- be called, with which options, which linker, and so on. The keys are
+-- described below.
+
+-- The first sections (boost, ..., debug_check) are by default used in
+-- conjunction with the corresponding SmartEiffel check level. This behaviour
+-- may be changed by using the -c_mode flag.
+
+-- The recognized keys in each section are:
+
+-- 'compiler_type', which tells which is the compiler type to use
+
+-- 'compiler_path', which gives the path to the compiler executable
+
+-- 'compiler_options', which gives some options to the compiler
+
+-- 'linker_path', which gives the path to the linker executable (not used in
+-- -no_split mode)
+
+-- 'linker_options', which gives some options for the linker (not used in
+-- -no_split mode)
+
+-- 'smarteiffel_options', which gives some extra SmartEiffel options to take
+-- into account
+
+
+[boost]
+c_compiler_type: gcc
+c_compiler_options: -pipe -O2
+cpp_compiler_type: g++
+cpp_compiler_options: -pipe -O2
+
+[no_check]
+c_compiler_type: gcc
+c_compiler_options: -pipe -O1
+cpp_compiler_type: g++
+cpp_compiler_options: -pipe -O1
+
+[require_check]
+c_compiler_type: gcc
+c_compiler_options: -pipe
+cpp_compiler_type: g++
+cpp_compiler_options: -pipe
+
+[ensure_check]
+c_compiler_type: gcc
+c_compiler_options: -pipe
+cpp_compiler_type: g++
+cpp_compiler_options: -pipe
+
+[invariant_check]
+c_compiler_type: gcc
+c_compiler_options: -pipe
+cpp_compiler_type: g++
+cpp_compiler_options: -pipe
+
+[loop_check]
+c_compiler_type: gcc
+c_compiler_options: -pipe
+cpp_compiler_type: g++
+cpp_compiler_options: -pipe
+
+[all_check]
+c_compiler_type: gcc
+c_compiler_options: -pipe
+cpp_compiler_type: g++
+cpp_compiler_options: -pipe
+
+[debug_check]
+c_compiler_type: gcc
+c_compiler_options: -pipe -g
+cpp_compiler_type: g++
+cpp_compiler_options: -pipe -g
+smarteiffel_options: -no_strip
+
+[release]
+c_compiler_type: gcc
+c_compiler_options: -pipe -O3 -fomit-frame-pointer
+cpp_compiler_type: g++
+cpp_compiler_options: -pipe -O3 -fomit-frame-pointer
+smarteiffel_options: -no_split -compact
diff -ruN SmartEiffel/smarteiffel.csh SmartEiffel-patched/smarteiffel.csh
--- SmartEiffel/smarteiffel.csh Thu Jan 1 01:00:00 1970
+++ SmartEiffel-patched/smarteiffel.csh Fri Jun 20 01:00:21 2003
@@ -0,0 +1,2 @@
+#setenv SmartEiffel @@PREFIX@@/share/smarteiffel/sys/system.se
+#setenv CLASSPATH @@PREFIX@@/share/smarteiffel/sys/runtime/java/smarteiffel.jar:$CLASSPATH
diff -ruN SmartEiffel/smarteiffel.sh SmartEiffel-patched/smarteiffel.sh
--- SmartEiffel/smarteiffel.sh Thu Jan 1 01:00:00 1970
+++ SmartEiffel-patched/smarteiffel.sh Fri Jun 20 01:00:06 2003
@@ -0,0 +1,2 @@
+#export SmartEiffel=@@PREFIX@@/share/smarteiffel/sys/system.se
+#export CLASSPATH=@@PREFIX@@/share/smarteiffel/sys/runtime/java/smarteiffel.jar:$CLASSPATH
diff -ruN SmartEiffel/tools/system_tools.e SmartEiffel-patched/tools/system_tools.e
--- SmartEiffel/tools/system_tools.e Mon Jun 16 11:56:20 2003
+++ SmartEiffel-patched/tools/system_tools.e Fri Jun 20 00:55:23 2003
@@ -387,7 +387,7 @@
end
i := i + 1
end
- s := once "/etc/serc"
+ s := once "@@PREFIX@@/etc/serc"
if Result.upper >= i then
Result.item(i).copy(s)
else

smarteiffel _unstable_ port .patch