2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-19 09:39:40 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Redland < Formula
|
2012-02-02 03:58:03 +00:00
|
|
|
url 'http://download.librdf.org/source/redland-1.0.15.tar.gz'
|
2009-12-23 21:51:32 +00:00
|
|
|
homepage 'http://librdf.org/'
|
2012-02-02 03:58:03 +00:00
|
|
|
md5 'b0deb87f3c7d3237a3d587c1e0f2f266'
|
2009-09-19 09:39:40 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2009-09-21 18:00:13 +00:00
|
|
|
depends_on 'raptor'
|
|
|
|
depends_on 'rasqal'
|
2009-10-10 11:58:00 +00:00
|
|
|
depends_on 'berkeley-db' => :optional
|
2009-09-19 09:39:40 +00:00
|
|
|
|
2011-10-28 20:29:31 +00:00
|
|
|
fails_with_llvm :build => 2334
|
2011-03-21 21:24:22 +00:00
|
|
|
|
2009-09-19 09:39:40 +00:00
|
|
|
def install
|
2011-03-21 21:24:22 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
2009-10-10 11:58:00 +00:00
|
|
|
"--with-sqlite=yes",
|
2011-02-12 12:27:10 +00:00
|
|
|
"--with-mysql=no",
|
2009-10-10 11:58:00 +00:00
|
|
|
"--with-bdb=#{HOMEBREW_PREFIX}"
|
2009-09-19 09:39:40 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|