The buildpack installs the MimeInfo Perl library into the Heroku container.
The buildpack is very similar to the original, there are just couple of changes:
- in detect, there is no checking for
Aptfile(buildpack always succeeds),
- in compile, required libraries that should be installed via
apt-getare simply declared in a
$packagesvariable, and additional environmental variables are declared towards the end of the file.
To add this buildpack to Heroku app, simply run the following command:
heroku buildpacks:add --index <index> https://github.com/biosistemika/heroku-buildpack-mimeinfo-perl.git -a <app>
<index> is a 1-based index where the buildpack should be added (e.g. if you already have 2 buildpacks for your app, this index would have value 3 to be appended to the end), and
<app> is the name of your Heroku app.