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 |
|
# all packages with haskell in the name needs ghc as runtime |
13 |
|
if [[ ${PNAME/#haskell-/} != ${PNAME} ]] |
14 |
|
then |
15 |
|
DEPEND="${DEPEND} |
16 |
|
>= dev-lang/ghc-6.12" |
17 |
|
fi |
18 |
|
# all other only as SDEPEND |
19 |
SDEPEND="${SDEPEND} |
SDEPEND="${SDEPEND} |
20 |
>= dev-lang/ghc-6.12" |
>= dev-lang/ghc-6.12" |
21 |
|
|
155 |
runhaskell $(haskell_ghc_setup_script) copy --destdir=${BINDIR} || die |
runhaskell $(haskell_ghc_setup_script) copy --destdir=${BINDIR} || die |
156 |
|
|
157 |
# create register scripts |
# create register scripts |
158 |
haskell_feature register && haskell_install_register || die |
if haskell_feature register |
159 |
|
then |
160 |
|
haskell_install_register || die |
161 |
|
fi |
162 |
|
|
163 |
# install docs |
# install docs |
164 |
local i |
local i |