by StateAndPlain

GitHub Readme.md

Heroku buildpack: gdbm

This is a Heroku buildpack that vendors gdbm.

It is meant to be used in conjunction with other buildpacks as part of a multi-buildpack.

Structure and code shamelessly copied from heroku-geo-buildpack.


Example usage:

$ heroku config:add BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git

$ cat .buildpacks

Don't forget to pin buildpack versions you want to use in your .buildpacks file.


>>> require 'gdbm'
=> true

Build Notes

The built-on-cedar-14 binaries that are downloaded by this buildpack, and live on s3, were created by the following, more or less:

  • create a dummy cedar-14 heroku app and run bash on it with heroku run bash
  • wget gdbm.tgz ; tar -zxf gdbm.tgz ; cd gdbm
  • ./configure --prefix=/app/vendor/gdbm/1.11 ; make ; make install
  • cd /app/vendor/gdbm/1.11 ; tar -czf ~/gdbm-1.11.tgz bin lib include