2012-08-19 16:46:59 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libpgm < Formula
|
|
|
|
homepage 'http://code.google.com/p/openpgm/'
|
2014-03-05 07:22:08 +00:00
|
|
|
url 'https://openpgm.googlecode.com/files/libpgm-5.2.122%7Edfsg.tar.gz'
|
2013-01-02 01:23:55 +00:00
|
|
|
sha1 '788efcb223a05bb68b304bcdd3c37bb54fe4de28'
|
|
|
|
version '5.2.122'
|
2012-08-19 16:46:59 +00:00
|
|
|
|
2014-07-03 21:00:25 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "a6ef54c95ebc2839235e41d0efc707b2dd666a18" => :mavericks
|
|
|
|
sha1 "6e0993c5ce4ae20d1602564e3d52b27e7e3deccd" => :mountain_lion
|
|
|
|
sha1 "7d25ac41693edf40af6618b411a8e054f0f6c38b" => :lion
|
|
|
|
end
|
|
|
|
|
2012-08-19 16:46:59 +00:00
|
|
|
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
|