Update of /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/languages
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5124/10.4-transitional/unstable/main/finkinfo/languages

Added Files:
        ghc.info 
Log Message:
New package of ghc that works on tiger (yay!)
This came from tracker 1349360, which I would mark as resolved if I could.


--- NEW FILE: ghc.info ---
Package: ghc
Version: 6.4.1
Revision: 1
Depends: readline5-shlibs, gmp-shlibs
BuildDepends: readline5, gmp, docbook-dtd, docbook-dsssl-nwalsh
Source: http://www.haskell.org/ghc/dist/%v/%n-%v-src.tar.bz2
Source-MD5: fd289bc7c3afa272ff831a71a50b5b00
SourceDirectory: %n-%v
# There doesn't seem to be a 6.4.1 bootstrap
Source2: 
http://www.haskell.org/%n/dist/6.4/MacOSX/%n-6.4-darwin-bootstrap-tiger.tar.bz2
Source2-MD5: 1665720d4d35cf89b9efa7865d0228f6
# According to dports, ghc needs a fresh happy to compile
Source3: http://www.haskell.org/happy/dist/1.15/happy-1.15-src.tar.gz
Source3-MD5: 02ceb122b904fa4a4290e6ea1072d59e
PatchScript: <<
#!/bin/sh
BS=../%n-bootstrap
BSVER=6.4
BSLIB=$BS/lib/%n-$BSVER
OLDROOT=/opt/local

sed -i.bak -e "2,3s,$OLDROOT,%b/$BS," -e "s,$OLDROOT,%p,g" $BS/bin/%n-$BSVER
sed -i.bak -e "s,$OLDROOT/bin/,/usr/bin/env ," $BSLIB/%n-asm
sed -i.bak -e "s,$OLDROOT/bin/,/usr/bin/env ," $BSLIB/%n-split

install_name_tool -change $OLDROOT/lib/libgmp.3.dylib %p/lib/libgmp.3.dylib 
$BSLIB/%n-$BSVER
install_name_tool -change $OLDROOT/lib/libgmp.3.dylib %p/lib/libgmp.3.dylib 
$BSLIB/%n-pkg.bin
install_name_tool -change $OLDROOT/lib/libgmp.3.dylib %p/lib/libgmp.3.dylib 
$BSLIB/hsc2hs-bin
sed -i.bak -e "s,$OLDROOT,%b/$BS,g" $BSLIB/package.conf

cat > mk/build.mk <<BUILDMK
ReadlineIncludePath=%p/include
SRC_CC_OPTS += -I%p/include
SRC_HC_OPTS += -I%p/include -L%p/lib
EXTRA_HSC2HS_OPTS += -I%p/include
EXTRA_LD_OPTS += -L%p/lib
EXTRA_HC_OPTS += -H128M
BUILDMK

mv ../happy-1.15/happy .
<<

ConfigureParams: --mandir=%d/share/man/ --with-ghc='%b/../%n-bootstrap/bin/ghc' 
--enable-src-tree-happy
CompileScript: <<
./configure %c
make
cd ghc/docs/users_guide; make html
sed -i.bak -e 's,},} -I%p/include -L%p/lib,' ghc/driver/ghc/ghc-%v
<<
InstallScript: <<
make install prefix=%i
mkdir -p %i/share/doc/%n
cp -r ghc/docs/users_guide/users_guide %i/share/doc/%n
# Should we remove happy here, in case it gets its own package?
rm %i/bin/happy*
rm -r %i/lib/happy-1.15
<<
SplitOff: <<
  Package: %N-dev
  Depends: %N (= %v-%r)
  Files: <<
  lib/%N-%v/*.a
  lib/%N-%v/include
  <<
  Description: Glasgow Haskell Compiler
  DescDetail: <<
  This package installs the includes and libraries needed to 
  compile Haskell into native code rather than interpret it.
  <<
  DocFiles: ghc/ANNOUNCE ghc/LICENSE ghc/README
<<
DocFiles: ghc/ANNOUNCE ghc/LICENSE ghc/README
Description: Glasgow Haskell Interpreter
DescDetail: <<
The Glasgow Haskell Compiler/Interpreter is a robust, fully-featured, 
optimising compiler and interactive environment for Haskell 98, GHC 
compiles Haskell to either native code or C.  It implements numerous 
experimental language extensions to Haskell 98, for example: concurrency,
a foreign language interface, multi-parameter type classes, scoped type 
variables, existential and universal quantification, unboxed types, 
exceptions, weak pointers, and so on. GHC comes with a generational 
garbage collector, and a space and time profiler.
<<
DescPort: <<
This port borrows heavily from Gregory Wright's DarwinPorts package.
<<
Homepage: http://www.haskell.org/ghc/
License: BSD
Maintainer: Brendan Cully <[EMAIL PROTECTED]>



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to