by benalavi


Heroku buildpack that just installs id3lib.


You probably want to compose this with other buildpack(s) using heroku-buildpack-multi (

Add to your .buildpacks (before anything that depends on id3lib).

Now your other buildpacks (say ruby) should be able to compile against id3lib.

Note that there is currently no way to pass environment variables between buildpacks using the heroku-buildpack-multi buildpack. So you'll likely want to actually use the one referenced in this pull request: by setting your buildpack to:


ruby test/id3lib_test.rb

Or, if you don't have the necessary dependencies and would like to run a VM (via Vagrant) with them installed for you:

vagrant up
vagrant ssh
cd /vagrant
ruby test/id3lib_test.rb

id3lib 3.8.3 package

These are the steps used to build the id3lib 3.8.3 package that this buildpack installs (

Setup vulcan to build:

sudo gem install vulcan
vulcan create id3lib-3.8.3

Download and uncompress id3lib:

curl -O
tar xzvf id3lib-3.8.3.tar.gz

Download patch for GCC 4+ & apply:

curl -O
cd id3lib-3.8.3
patch -p1 < ../id3lib-3.8.3_gcc4.diff

Finally, build it w/ vulcan:

vulcan build -v -s . -c "./configure --prefix=/tmp/id3lib-3.8.3 && make && make install" -p /tmp/id3lib-3.8.3 -o ../id3lib-3.8.3.tgz