aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJens Cornelis2013-06-06 13:22:17 +0200
committerAdam Vandenberg2013-06-23 11:16:02 -0700
commit4ba2f65b6d922848b9e40f3172354e6d99a521cc (patch)
tree61fd844eaf4ffd691cdf1428f8dfa7bd5cd7efc9 /Library/Formula
parentbc2e06d988728f0ee3e40607de8d66414bfde09a (diff)
downloadhomebrew-4ba2f65b6d922848b9e40f3172354e6d99a521cc.tar.bz2
alembic 1.1.5
Closes #20301. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/alembic.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/alembic.rb b/Library/Formula/alembic.rb
new file mode 100644
index 000000000..819dfabc0
--- /dev/null
+++ b/Library/Formula/alembic.rb
@@ -0,0 +1,23 @@
+require 'formula'
+
+class Alembic < Formula
+ homepage 'http://opensource.imageworks.com/?p=alembic'
+ url 'http://alembic.googlecode.com/files/Alembic_1.1.5_2013041100.tgz'
+ sha1 '539813017342d156ed5b0efafc983bda9b2cb001'
+ version '1.1.5'
+
+ depends_on 'cmake' => :build
+ depends_on 'boost'
+ depends_on 'hdf5'
+ depends_on 'ilmbase'
+
+ def install
+ cmake_args = std_cmake_args + %w{. -DUSE_PYILMBASE=OFF -DUSE_PRMAN=OFF -DUSE_ARNOLD=OFF -DUSE_MAYA=OFF -DUSE_PYALEMBIC=OFF}
+ system "cmake", *cmake_args
+ system "make", "install"
+ #move everything upwards
+ lib.install_symlink Dir[prefix/"alembic-1.1.5/lib/static/*"]
+ include.install_symlink Dir[prefix/"alembic-1.1.5/include/*"]
+ bin.install_symlink Dir[prefix/"alembic-1.1.5/bin/*"]
+ end
+end