homebrew-core/Formula/atomicparsley.rb

25 lines
697 B
Ruby

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