aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/szip.rb
blob: beaec46238469c326db1241c686d24bc34d61828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'formula'

class Szip < Formula
  homepage 'http://www.hdfgroup.org/HDF5/release/obtain5.html#extlibs'
  url 'http://www.hdfgroup.org/ftp/lib-external/szip/2.1/src/szip-2.1.tar.gz'
  sha1 'd241c9acc26426a831765d660b683b853b83c131'

  option :universal

  def install
    ENV.universal_binary if build.universal?
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end