diff options
| author | Geoffrey Oxberry | 2014-06-04 13:04:08 -0700 | 
|---|---|---|
| committer | Mike McQuaid | 2014-06-07 08:47:35 +0100 | 
| commit | 58f191e92525fe184db40881161aee93cdff1731 (patch) | |
| tree | 6a58ed8c108d585e9fec803b10ad06ad9831fb63 | |
| parent | c7436cf1545be43ccdce7b57ee8856587735ac4a (diff) | |
| download | homebrew-58f191e92525fe184db40881161aee93cdff1731.tar.bz2 | |
gromacs: move to homebrew-science
Closes #29880.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Formula/gromacs.rb | 45 | ||||
| -rw-r--r-- | Library/Homebrew/tap_migrations.rb | 1 | 
2 files changed, 1 insertions, 45 deletions
diff --git a/Library/Formula/gromacs.rb b/Library/Formula/gromacs.rb deleted file mode 100644 index c6818afdc..000000000 --- a/Library/Formula/gromacs.rb +++ /dev/null @@ -1,45 +0,0 @@ -require 'formula' - -class Gromacs < Formula -  homepage 'http://www.gromacs.org/' -  url 'ftp://ftp.gromacs.org/pub/gromacs/gromacs-4.6.3.tar.gz' -  mirror 'https://fossies.org/linux/privat/gromacs-4.6.3.tar.gz' -  sha1 'bf01a19d0afdadc10b960faebbca1a68a10a4313' - -  option 'enable-mpi', "Enables MPI support" -  option 'enable-double',"Enables double precision" -  option 'with-x', "Enable the X11 visualizer" - -  depends_on 'cmake' => :build -  depends_on 'fftw' -  depends_on 'gsl' => :recommended -  depends_on :mpi if build.include? 'enable-mpi' -  depends_on :x11 if build.with? "x" - -  def install -    args = std_cmake_args -    args << "-DGMX_GSL=ON" if build.with? "gsl" -    args << "-DGMX_MPI=ON" if build.include? 'enable-mpi' -    args << "-DGMX_DOUBLE=ON" if build.include? 'enable-double' -    args << "-DGMX_X11=ON" if build.with? "x" -    args << "-DGMX_CPU_ACCELERATION=None" if MacOS.version <= :snow_leopard - -    inreplace 'scripts/CMakeLists.txt', 'BIN_INSTALL_DIR', 'DATA_INSTALL_DIR' - -    cd "src" do -      system "cmake", "..", *args -      system "make" -      ENV.j1 -      system "make install" -    end - -    bash_completion.install 'scripts/completion.bash' => 'gromacs-completion.bash' -    zsh_completion.install 'scripts/completion.zsh' => '_gromacs' -  end - -  def caveats;  <<-EOS.undent -    GMXRC and other scripts installed to: -      #{HOMEBREW_PREFIX}/share/gromacs -    EOS -  end -end diff --git a/Library/Homebrew/tap_migrations.rb b/Library/Homebrew/tap_migrations.rb index 5906969c1..4bf683fa2 100644 --- a/Library/Homebrew/tap_migrations.rb +++ b/Library/Homebrew/tap_migrations.rb @@ -17,6 +17,7 @@ TAP_MIGRATIONS = {    "drizzle" => "homebrew/boneyard",    "dsniff" => "homebrew/boneyard",    "grads" => "homebrew/binary", +  "gromacs" => "homebrew/science",    "hugs98" => "homebrew/boneyard",    "hwloc" => "homebrew/science",    "ipopt" => "homebrew/science",  | 
