06cb65df78
Fixes Homebrew/homebrew#10559. Also added missing deps for osm2pgsql. Removed some ACLOCAL_FLAGS stuff as in theory this is not set in ENV.rb. Would like to see if it causes trouble. Should just work now.
24 lines
697 B
Ruby
24 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
|
|
|