require 'formula'

class Openmeeg < Formula
  homepage 'http://www-sop.inria.fr/athena/software/OpenMEEG/'
  url 'https://github.com/openmeeg/openmeeg/tarball/release-2.1'
  sha1 'b779f95db3687e5e338f889d9510b5777fdbdb79'

  head 'https://github.com/openmeeg/openmeeg.git'

  depends_on 'cmake' => :build
  depends_on 'hdf5'

  def install
    system "cmake", ".", "-DUSE_PROGRESSBAR=ON", *std_cmake_args
    system "make install"
  end
end

require 'formula'

class Openmeeg < Formula
  homepage 'http://www-sop.inria.fr/athena/software/OpenMEEG/'
  url 'https://github.com/openmeeg/openmeeg/archive/release-2.1.tar.gz'
  sha1 'c19896bde64e751142c74d15bf99defec518a054'

  head 'https://github.com/openmeeg/openmeeg.git'

  depends_on 'cmake' => :build
  depends_on 'hdf5'

  def install
    system "cmake", ".", "-DUSE_PROGRESSBAR=ON", *std_cmake_args
    system "make install"
  end
end

Convert remaining github tarball URLs to archive URLs
Convert remaining github tarball URLs to archive URLs
