Hello Haskell-Cafe,<br>
<br>
I have created a package that requires an external library to be present on the machine.<br>Because of that, obviously, hackage fails to build it, and subsequently fails to generate<br>documentation.<br><br>So my question is, how should I go about configuring Cabal/Setup.hs to automatize the<br>


process to allow hackage to build it properly and also simplify the package installation<br>for the user.<br><br>The packages that I&#39;m talking about are bindings to <a href="http://awesomium.com/" target="_blank">Awesomium</a>:<br>

<a href="http://hackage.haskell.org/package/awesomium-raw" target="_blank">awesomium-raw</a><br>
and subsequently, the higher level ones that depend on it<br><a href="http://hackage.haskell.org/package/awesomium" target="_blank">awesomium</a><br><a href="http://hackage.haskell.org/package/awesomium-glut" target="_blank">awesomium-glut</a><br>

<br>Specifically, the installation process for linux is described as follows:<br>
<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">To install Awesomium, you&#39;ll need to add the shared library to your<br>system&#39;s library search path. On Ubuntu, you can use the following commands:<br>


<br>    cd awesomium_v1.6.5_sdk_linux32<br>    sudo mkdir /usr/lib/awesomium-1.6.5<br>    sudo cp -r build/bin/release/* /usr/lib/awesomium-1.6.5<br>    sudo ldconfig /usr/lib/awesomium-1.6.5<br> <br></blockquote><div><br>


So if anyone could give me some hints, or point me to package that have a similar, <br>external-library-copying-and-registering installation process i would be grateful. <br></div>