dragonegg-gcc _unstable_ port information

Info2: <<
Package: dragonegg-gcc%type_pkg[gcc]
Version: 2.9
Revision: 1
Type: gcc (4.5)
Architecture: i386, x86_64
Maintainer: Jack Howarth
Depends: llvm29, gcc%type_pkg[gcc]-compiler
BuildDepends: llvm29, gcc%type_pkg[gcc]-compiler, fink (>= 0.24.12)
#Source: http://llvm.org/releases/%v/dragonegg-%v.tgz
Source: http://pogma.com/tmp/dragonegg-r129359.tar.bz2
Source-MD5: 3bf3074de1ccee62b80dd3bb5f22c59e
PatchFile: dragonegg-gcc.patch
PatchFile-MD5: ada301130259d699738e4608ddcc8427
SourceDirectory: dragonegg-r129359
CompileScript: <<
#!/bin/bash -ev
GCC=%p/lib/gcc%type_raw[gcc]/bin/gcc-4 LLVM_CONFIG=%p/opt/llvm-%v/bin/llvm-config make CPPFLAGS="-DENABLE_LTO -I%p/include"
<<
InstallScript: <<
#!/bin/bash -ev
mkdir -p %i/lib/gcc%type_raw[gcc]/lib
mkdir %i/bin
cp dragonegg.so %i/lib/gcc%type_raw[gcc]/lib/dragonegg.so
cat < %i/bin/de-gcc%type_pkg[gcc]
#!/bin/bash
exec %p/lib/gcc%type_raw[gcc]/bin/gcc-4 -fplugin=%p/lib/gcc%type_raw[gcc]/lib/dragonegg.so "\$@"
EOF
chmod ugo+x %i/bin/de-gcc%type_pkg[gcc]
cat < %i/bin/de-g++%type_pkg[gcc]
#!/bin/bash
exec %p/lib/gcc%type_raw[gcc]/bin/g++-4 -fplugin=%p/lib/gcc%type_raw[gcc]/lib/dragonegg.so "\$@"
EOF
chmod ugo+x %i/bin/de-g++%type_pkg[gcc]
cat < %i/bin/de-c++%type_pkg[gcc]
#!/bin/bash
exec %p/lib/gcc%type_raw[gcc]/bin/c++-4 -fplugin=%p/lib/gcc%type_raw[gcc]/lib/dragonegg.so "\$@"
EOF
chmod ugo+x %i/bin/de-c++%type_pkg[gcc]
cat < %i/bin/de-gfortran%type_pkg[gcc]
#!/bin/bash
exec %p/lib/gcc%type_raw[gcc]/bin/gfortran -fplugin=%p/lib/gcc%type_raw[gcc]/lib/dragonegg.so "\$@"
EOF
chmod ugo+x %i/bin/de-gfortran%type_pkg[gcc]
cat < %i/bin/de-cpp%type_pkg[gcc]
#!/bin/bash
exec %p/lib/gcc%type_raw[gcc]/bin/cpp-4 -fplugin=%p/lib/gcc%type_raw[gcc]/lib/dragonegg.so "\$@"
EOF
chmod ugo+x %i/bin/de-cpp%type_pkg[gcc]
<<
License: GPL
DocFiles: COPYING
Description: Using LLVM as a GCC backend
DescDetail: <<
DragonEgg is a gcc plugin dragonegg.so that replaces gcc's optimizers
and code generators with those from the LLVM project. It is a
reimplementation of llvm-gcc that works with gcc-4.5 or later.
<<
DescPackaging: <<
The dragonegg-gcc variants build and installs the dragonegg.so plugin
for each compatible gcc4X release. The packaging also provides
compiler wrapper scripts for ease of use. These are prefixed with de-
and suffixed with 4X, indicating the gcc4X release used.
<<
Homepage: http://dragonegg.llvm.org/
<<