aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ezlupdate.rb
blob: 4d0cc034d01531eef9c58083d2bf75c14c996553 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Ezlupdate < Formula
  homepage 'http://ezpedia.org/ez/ezlupdate'
  url 'https://github.com/downloads/ezsystems/ezpublish/ezpublish_community_project-2011.10-with_ezc.tar.bz2'
  md5 'd40cbcf714c1071ffb6ee2c1e4975282'

  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
      system "#{HOMEBREW_PREFIX}/bin/qmake", "ezlupdate.pro"
      system "make"
    end
    bin.install 'bin/macosx/ezlupdate'
  end
end