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 |
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 |
{ |
{ |
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 \ |