Last active
August 29, 2015 13:56
-
-
Save samzhang111/8905616 to your computer and use it in GitHub Desktop.
Dbus Buildpack for Heroku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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