This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Added libdogleg formula

  • Loading branch information...
1 parent f14b572 commit 1abe79d1ae5011f006fc623df86822cb419d18fe @laurentbartholdi laurentbartholdi committed Oct 2, 2012
Showing with 22 additions and 0 deletions.
  1. +22 −0 Library/Formula/libdogleg.rb
@@ -0,0 +1,22 @@
+require 'formula'
+
+class Libdogleg < Formula
+ homepage 'https://github.com/Oblong/libdogleg'
+ url 'https://github.com/laurentbartholdi/libdogleg/zipball/compile-for-mac'
+ version '0.07'
+ sha1 '0831f70542f01f19439d6cfcab62218c8cf9cc50'
+
+ def install
+ system "make"
+ system "make sample"
+ lib.install "libdogleg.a"
+ lib.install Dir['libdogleg*.dylib']
+ man3.install "libdogleg.3"
+ include.install "dogleg.h"
+ prefix.install "sample"
+ end
+
+ def test
+ system "#{prefix}/sample"
+ end
+end

0 comments on commit 1abe79d

Please sign in to comment.