This is a Heroku buildpack for C apps. It uses Make. This is a fork from http://github.com/heroku/heroku-buildpack-c.git and is custom configured to install LibLouis from the vendor directory on a heroku application.
In your heroku application Download the liblous tarball from http://liblouis.org/downloads/
Copy the extracted contexts to your application's root directory vendor/liblouis
Create an additional directory vendor/liblous-exec
and add a .gitkeep
file
Add a .profile
file to your root directory with export LD_LIBRARY_PATH=$HOME/vendor/liblouis-exec/lib
inside
Commit your changes, and push these changes up to your heroku application
Example usage:
$ heroku buildpacks:add http://github.com/kida001/heroku-buildpack-c.git
$ git push heroku master
...
-----> Heroku receiving push
-----> Fetching custom buildpack
-----> Configuring
-----> Compiling with Make
-----> Installing with Make