From e48205876e51a151415c56d178bb124ef002d23e Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Fri, 16 Mar 2012 18:08:08 -0700 Subject: [PATCH] Re-add redland Closes Homebrew/homebrew#10985. --- Formula/redland.rb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Formula/redland.rb diff --git a/Formula/redland.rb b/Formula/redland.rb new file mode 100644 index 0000000000..43c0f09826 --- /dev/null +++ b/Formula/redland.rb @@ -0,0 +1,23 @@ +require 'formula' + +class Redland < Formula + url 'http://download.librdf.org/source/redland-1.0.15.tar.gz' + homepage 'http://librdf.org/' + md5 'b0deb87f3c7d3237a3d587c1e0f2f266' + + depends_on 'pkg-config' => :build + depends_on 'raptor' + depends_on 'rasqal' + depends_on 'berkeley-db' => :optional + + fails_with_llvm :build => 2334 + + def install + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--with-sqlite=yes", + "--with-mysql=no", + "--with-bdb=#{HOMEBREW_PREFIX}" + system "make install" + end +end