Skip to content
Browse files

install libgit2 on OSX

  • Loading branch information...
1 parent b115c84 commit 8e78167d4eb421d05cab889d7dd50d17e9e3e54c @richo committed Mar 5, 2013
Showing with 12 additions and 0 deletions.
  1. +12 −0 deps/groundstation.bash
View
12 deps/groundstation.bash
@@ -1,8 +1,20 @@
groundstation_dev() {
+ requires "libgit2_dev"
requires "pip_packages_installed"
process
}
+libgit2_dev() {
+ function is_met() {
+ echo "main() { return 0; }" | gcc -x c /dev/stdin -lgit2 -o /dev/null
+ }
+ function meet {
+ ( [ "`uname -s`" == "Darwin" ] && which brew >/dev/null ) || unmeetable "Only supported on osx"
+ brew install --HEAD libgit2
+ }
+ process
+}
+
virtualenv_exists() {
#requires "virtualenv installed"
function is_met() {

0 comments on commit 8e78167

Please sign in to comment.
Something went wrong with that request. Please try again.