2010-09-23 20:12:29 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Zdelta < Formula
|
2010-09-23 20:12:29 +00:00
|
|
|
homepage 'http://cis.poly.edu/zdelta/'
|
2012-03-10 22:07:42 +00:00
|
|
|
url 'http://cis.poly.edu/zdelta/downloads/zdelta-2.1.tar.gz'
|
2010-09-23 20:12:29 +00:00
|
|
|
md5 'c69583a64f42f69a39e297d0d27d77e5'
|
|
|
|
|
|
|
|
def install
|
2012-03-10 22:07:42 +00:00
|
|
|
system "make", "test", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
|
|
|
|
system "make", "install", "prefix=#{prefix}"
|
|
|
|
bin.install "zdc", "zdu"
|
2010-09-23 20:12:29 +00:00
|
|
|
end
|
|
|
|
end
|