2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-07 22:54:41 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Atomicparsley < Formula
|
2011-03-12 23:37:08 +00:00
|
|
|
url 'https://bitbucket.org/wez/atomicparsley/get/0.9.4.tar.bz2'
|
2010-01-20 03:46:08 +00:00
|
|
|
homepage 'http://bitbucket.org/wez/atomicparsley/overview/'
|
2012-01-04 19:59:00 +00:00
|
|
|
md5 '2ce6f39cedc959f46b5515920c35d0d7'
|
2009-09-07 22:54:41 +00:00
|
|
|
|
2012-01-30 11:14:50 +00:00
|
|
|
head 'https://bitbucket.org/wez/atomicparsley', :using => :hg
|
|
|
|
|
2012-02-28 15:39:22 +00:00
|
|
|
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
|
|
|
|
|
2009-09-07 22:54:41 +00:00
|
|
|
def install
|
2010-01-20 03:46:08 +00:00
|
|
|
system "./autogen.sh"
|
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--disable-debug",
|
|
|
|
"--disable-universal"
|
|
|
|
system "make install"
|
2009-09-07 22:54:41 +00:00
|
|
|
end
|
|
|
|
end
|
2009-09-15 18:05:24 +00:00
|
|
|
|