aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/atomicparsley.rb
blob: 911bd1e621b8973baad57938dcf1a19a69fa0279 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'formula'

class Atomicparsley < Formula
  url 'https://bitbucket.org/wez/atomicparsley/get/0.9.4.tar.bz2'
  homepage 'http://bitbucket.org/wez/atomicparsley/overview/'
  md5 '2ce6f39cedc959f46b5515920c35d0d7'

  head 'https://bitbucket.org/wez/atomicparsley', :using => :hg

  if MacOS.xcode_version >= "4.3"
    # when and if the tarball provides configure, remove autogen.sh and these deps
    depends_on "automake" => :build
    depends_on "libtool" => :build
  end

  def install
    system "./autogen.sh"
    system "./configure", "--prefix=#{prefix}",
                          "--disable-debug",
                          "--disable-universal"
    system "make install"
  end
end