diff options
| author | Shuen-Huei (Drake) Guan | 2012-10-11 21:06:55 +0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-14 21:59:24 -0800 |
| commit | 5c81b20ea4811c1481ca0949949bbc72ef951dbb (patch) | |
| tree | 5bc6c4911efd9a4f931ec487314ac2dfac493f4c /Library/Formula/partio.rb | |
| parent | f9e297a3fe0381e281d6728857acfa8c425fb024 (diff) | |
| download | homebrew-5c81b20ea4811c1481ca0949949bbc72ef951dbb.tar.bz2 | |
Partio 1.1.0
Closes #15411.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/partio.rb')
| -rw-r--r-- | Library/Formula/partio.rb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Library/Formula/partio.rb b/Library/Formula/partio.rb new file mode 100644 index 000000000..1b454dcff --- /dev/null +++ b/Library/Formula/partio.rb @@ -0,0 +1,29 @@ +require 'formula' + +class Partio < Formula + homepage 'http://www.partio.us' + url 'https://github.com/wdas/partio/archive/v1.1.0.tar.gz' + sha1 '446879b2a01a838ad23eb84c4e6da36c1a315e49' + + depends_on 'cmake' => :build + depends_on 'swig' => :build + depends_on 'doxygen' => :build + + # These fixes are upstream and can be removed in the next released version. + def patches + [ + "https://github.com/wdas/partio/commit/5b80b00ddedaef9ffed19ea4e6773ed1dc27394e.patch", + "https://github.com/wdas/partio/commit/bdce60e316b699fb4fd813c6cad9d369205657c8.patch", + "https://github.com/wdas/partio/commit/e557c212b0e8e0c4830e7991541686d568853afd.patch" + ] + end + + def install + mkdir 'build' do + system "cmake", "..", *std_cmake_args + system "make" + system "make doc" + system "make install" + end + end +end |
