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

class Libpgm < Formula
  homepage 'http://code.google.com/p/openpgm/'
  url 'https://openpgm.googlecode.com/files/libpgm-5.2.122%7Edfsg.tar.gz'
  sha1 '788efcb223a05bb68b304bcdd3c37bb54fe4de28'
  version '5.2.122'

  option :universal

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