How to handle C library dependencies on Hackage?

Hello Cafe, I recently did my first upload to Hackage: http://hackage.haskell.org/package/jalla. The library does not build (and therefore unfortunately the documentation is not built either), because the C library that it needs to wrap is usually not installed with normal Linux distributions. It's LAPACKE (note the E at the end). I /could/ upload the source code of that library alongside my Haskell library and build it using Setup.hs (this works on my computer). However, LAPACKE is large compated to my own library (about 16MB sources) and I don't want to flood Hackage with it if it's not necessary. Can anyone here give me some advice on how to solve this on the system that builds the hackage packages? Thanks very much, Christian

Hi Christian Usually people host the documentation on their own site and put a link in the description field of the cabal file, pointing users to it.
participants (2)
-
.
-
Stephen Tetley