2011-12-02 19:14:16 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ezlupdate < Formula
|
|
|
|
homepage 'http://ezpedia.org/ez/ezlupdate'
|
2013-04-09 13:16:08 +00:00
|
|
|
url 'https://github.com/downloads/ezsystems/ezpublish-legacy/ezpublish_community_project-2011.10-with_ezc.tar.bz2'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'd20912fda2438143d3981ca8e07bb52329e2cf25'
|
2011-12-02 19:14:16 +00:00
|
|
|
|
|
|
|
depends_on 'qt'
|
|
|
|
|
|
|
|
def install
|
|
|
|
cd "support/ezlupdate-qt4.5/ezlupdate" do
|
|
|
|
# Use the qmake installation done with brew
|
|
|
|
# because others installations can make a mess
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{HOMEBREW_PREFIX}/bin/qmake", "ezlupdate.pro"
|
2011-12-02 19:14:16 +00:00
|
|
|
system "make"
|
|
|
|
end
|
|
|
|
bin.install 'bin/macosx/ezlupdate'
|
|
|
|
end
|
|
|
|
end
|