New formula: libpgm

Libpgm is from OpenPGM, An implementation of the PGM reliable
multicast protocol.  It's a dep for zeromq that fixes zeromq
so that it compiles on ML.  Tested with clang and llvm from
XCode-4.4.1.

Fixes Homebrew/homebrew#14210

Closes Homebrew/homebrew#14290.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
nibbles 2bits 2012-08-19 09:46:59 -07:00 committed by Adam Vandenberg
parent f68febbef4
commit a928797043

19
Formula/libpgm.rb Normal file
View file

@ -0,0 +1,19 @@
require 'formula'
class Libpgm < Formula
homepage 'http://code.google.com/p/openpgm/'
url 'http://openpgm.googlecode.com/files/libpgm-5.2.119%7Edfsg.tar.gz'
sha1 '8ac7e61716a7911ec8c1608cea8cf59d841b2d9d'
version '5.2.119'
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