homebrew-core/Formula/zdelta.rb

14 lines
365 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Zdelta < Formula
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'
sha1 'd25af5d630c4f65f2c57ee84a3e9e0068eac432f'
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"
end
end