Skip to content

Instantly share code, notes, and snippets.

@robintw
Created May 26, 2011 09:35
Show Gist options
  • Save robintw/992840 to your computer and use it in GitHub Desktop.
Save robintw/992840 to your computer and use it in GitHub Desktop.
ridl formula
require 'formula'
class Ridl < Formula
url 'http://svn.idldev.com/ridl/trunk', :using => :svn
version '197'
homepage 'http://michaelgalloy.com/category/idl/ridl'
md5 '12ec8e4ec8d6d7f58bb7076b8c74352f'
depends_on 'cmake'
depends_on 'readline'
def install
system "cp -f /Users/robin/builds/ridl/src/ridl.c ./src/ridl.c"
system "cmake . #{std_cmake_parameters} -DReadline_INCLUDE_DIR=/usr/local/Cellar/readline/6.2.1/include -DReadline_LIBRARY=/usr/local/Cellar/readline/6.2.1/lib/libreadline.dylib"
system "make"
system "make install"
system "chmod -v a+x #{bin}/ridl.sh"
system "mv #{prefix}/man/ #{man}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment