Automation of external library installation in haskell package.
2012-11-18 18:22:51 GMT
I have created a package that requires an external library to be present on the machine.
Because of that, obviously, hackage fails to build it, and subsequently fails to generate
So my question is, how should I go about configuring Cabal/Setup.hs to automatize the
process to allow hackage to build it properly and also simplify the package installation
for the user.
The packages that I'm talking about are bindings to Awesomium:
and subsequently, the higher level ones that depend on it
Specifically, the installation process for linux is described as follows:
To install Awesomium, you'll need to add the shared library to your
system's library search path. On Ubuntu, you can use the following commands:
sudo mkdir /usr/lib/awesomium-1.6.5
sudo cp -r build/bin/release/* /usr/lib/awesomium-1.6.5
sudo ldconfig /usr/lib/awesomium-1.6.5
So if anyone could give me some hints, or point me to package that have a similar,
external-library-copying-and-registering installation process i would be grateful.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe <at> haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe