Magellan Linux

Diff of /trunk/core/include/haskell.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5492 by niro, Wed Jun 30 16:36:45 2010 UTC revision 5500 by niro, Wed Jun 30 22:49:24 2010 UTC
# Line 9  sminclude mtools Line 9  sminclude mtools
9  : ${HOMEPAGE="http://hackage.haskell.org/package/${PNAME/#haskell-/}"}  : ${HOMEPAGE="http://hackage.haskell.org/package/${PNAME/#haskell-/}"}
10    
11  # some sane default dependencies  # some sane default dependencies
12  DEPEND="${DEPEND}  SDEPEND="${SDEPEND}
13   >= dev-lang/ghc-6.12"   >= dev-lang/ghc-6.12"
14    
15  # default SRCFILE SRCDIR and SRC_URI  # default SRCFILE SRCDIR and SRC_URI
# Line 23  SRC_URI=( Line 23  SRC_URI=(
23    
24  HASKELL_PNAME="${PNAME}"  HASKELL_PNAME="${PNAME}"
25  SPECIAL_VARS="HASKELL_PNAME"  SPECIAL_VARS="HASKELL_PNAME"
26    SPECIAL_FUNCTIONS="${SPECIAL_FUNCTIONS} haskell_preinstall haskell_postinstall haskell_preremove"
27    
28  haskell_ghc_version()  haskell_ghc_version()
29  {  {
# Line 66  haskell_src_configure() Line 67  haskell_src_configure()
67  {  {
68   local configure_opts="$@"   local configure_opts="$@"
69    
70     configure_opts+=" --enable-split-objs"
71     configure_opts+=" --enable-shared"
72    
73   runhaskell $(haskell_ghc_setup_script) configure \   runhaskell $(haskell_ghc_setup_script) configure \
74   --ghc \   --ghc \
75   --prefix=/usr \   --prefix=/usr \
# Line 90  haskell_src_install() Line 94  haskell_src_install()
94    
95   runhaskell $(haskell_ghc_setup_script) copy --destdir=${BINDIR} || die   runhaskell $(haskell_ghc_setup_script) copy --destdir=${BINDIR} || die
96    
97     # create register scripts
98     haskell_install_register || die
99    
100   # install docs   # install docs
101   local i   local i
102   for i in ABOUT-NLS AUTHORS BUGS CHANGES ChangeLog COPYING \   for i in ABOUT-NLS AUTHORS BUGS CHANGES ChangeLog COPYING \

Legend:
Removed from v.5492  
changed lines
  Added in v.5500