Skip to content

Instantly share code, notes, and snippets.

@samzhang111
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samzhang111/8905616 to your computer and use it in GitHub Desktop.
Save samzhang111/8905616 to your computer and use it in GitHub Desktop.
Dbus Buildpack for Heroku
#!/bin/sh
#forked from https://gist.github.com/ddollar/07d579a6621b3ddd7b6b/
# capture root dir
root=$(pwd)
# change into subdir of archive
cd $root/dbus-*
# configure and compile
mkdir /app/vendor
./configure --prefix=/app/vendor
make
make install
# remove source files
rm -rf $root/*
# copy build artifacts back into the root
cp -r /app/vendor $root/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment