Skip to content

Instantly share code, notes, and snippets.

@codingisacopingstrategy
Created November 19, 2010 19:33
Show Gist options
  • Save codingisacopingstrategy/707008 to your computer and use it in GitHub Desktop.
Save codingisacopingstrategy/707008 to your computer and use it in GitHub Desktop.
Creating a Homebrew formula for the Zorba XSLT processor
#in progress
require 'formula'
class Zorba <Formula
url 'http://sourceforge.net/projects/zorba/files/zorba/1.4.0/zorba-1.4.0.tar.gz/download'
homepage 'http://www.zorba-xquery.com/'
md5 ''
version '1.4.0'
depends_on 'cmake'
depends_on 'libxml2'
depends_on 'icu4c'
depends_on 'xerces-c'
depends_on 'fop'
# curl 7.19 (> 7.12) tidy 15.3.6, libxslt 1.1.24 (=1.1.24)
# imap cclient needs a port
# http://www.zorba-xquery.com/doc/zorba-latest/zorba/html/build.html
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "cmake . #{std_cmake_parameters}"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment