2010-01-30 18:38:19 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Pbzip2 < Formula
|
2010-01-30 18:38:19 +00:00
|
|
|
homepage 'http://compression.ca/pbzip2/'
|
2012-02-13 04:34:19 +00:00
|
|
|
url 'http://compression.ca/pbzip2/pbzip2-1.1.6.tar.gz'
|
2012-01-17 16:50:19 +00:00
|
|
|
md5 '26cc5a0d882198f106e75101ff0544a3'
|
2010-01-30 18:38:19 +00:00
|
|
|
|
2011-10-28 20:29:31 +00:00
|
|
|
fails_with_llvm :build => 2334
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2011-03-21 21:24:22 +00:00
|
|
|
def install
|
2012-02-13 04:34:19 +00:00
|
|
|
inreplace "Makefile", "$(PREFIX)/man", "$(PREFIX)/share/man"
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2012-02-13 04:34:19 +00:00
|
|
|
system "make", "PREFIX=#{prefix}",
|
|
|
|
"CC=#{ENV.cxx}",
|
|
|
|
"CFLAGS=#{ENV.cflags}",
|
|
|
|
"PREFIX=#{prefix}",
|
|
|
|
"install"
|
2010-01-30 18:38:19 +00:00
|
|
|
end
|
|
|
|
end
|