On Fri, Dec 28, 2012 at 4:44 AM, Piotr Pokora <
piotrek...@gmail.com> wrote:
> I want to create libgda buildpack. However, to compile it, I need to have
> gettext and intltool installed first. Intltool requires xml::parser perl
> module. Should I use multi buildpack?
Are gettext and intltool compile-time dependencies or runtime dependencies?
> Should I install perl as "dependency buildpack" and then install perl
> module, and then try to build intltool? In other words, how the build
> dependency setup looks like when building buildpack?
We don't currently have a mechanism for dependencies between
buildpacks. Making your users use the multi buildpack would be kind of
a low-fi way of doing it. If you want a more seamless mechanism you
could try making your bin/compile fetch and run the perl buildpack and
its bin/compile script. If perl is just needed to compile libgda and
not at runtime it's much simpler; you can declare your buildpack as a
perl app and perform compilation on a dyno with `heroku run`.
-Phil