diff options
| author | Roger Jungemann | 2010-03-16 14:52:24 -0700 |
|---|---|---|
| committer | David Höppner | 2010-03-17 20:31:34 +0100 |
| commit | a7c4c673aeff1722034e17ee10f361b2e036a96f (patch) | |
| tree | 6d89517de41e893824c74e3210bf0d333e6f73a6 /Library/Formula | |
| parent | d0b0673be3c5682101dd2acb7e111f7fe7f4f96c (diff) | |
| download | homebrew-a7c4c673aeff1722034e17ee10f361b2e036a96f.tar.bz2 | |
New formula chipmunk
Fast and lightweight 2D rigid body physics library in C
Signed-off-by: David Höppner <0xffea@gmail.com>
* split commit
* rewrote commit message
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/chipmunk.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/chipmunk.rb b/Library/Formula/chipmunk.rb new file mode 100644 index 000000000..93a39ebff --- /dev/null +++ b/Library/Formula/chipmunk.rb @@ -0,0 +1,15 @@ +require 'formula' + +class Chipmunk <Formula + head 'http://chipmunk-physics.googlecode.com/svn/trunk' + homepage 'http://code.google.com/p/chipmunk-physics/' + + depends_on 'cmake' + + def install + system "cmake", "-DCMAKE_INSTALL_PREFIX=#{prefix}", + "-DCMAKE_PREFIX_PATH=#{prefix}", + "-DPREFIX=#{prefix}", "." + system "make install" + end +end |
