homebrew-core/Formula/arabica.rb

24 lines
669 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Arabica < Formula
desc "XML toolkit written in C++"
homepage 'http://www.jezuk.co.uk/cgi-bin/view/arabica'
url 'https://downloads.sourceforge.net/project/arabica/arabica/November-12/arabica-2012-November.tar.gz'
version '20121126'
sha1 '34d043607e048e0972a57e31bfff09086d893d14'
head do
url 'https://github.com/jezhiggins/arabica.git'
2014-10-17 05:08:05 +00:00
depends_on 'autoconf' => :build
depends_on 'automake' => :build
depends_on 'libtool' => :build
end
def install
system "autoreconf", "-fvi" if build.head?
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
end