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
|
2011-02-12 11:23:45 +00:00
|
|
|
url 'http://download.librdf.org/source/redland-1.0.12.tar.gz'
|
2009-12-23 21:51:32 +00:00
|
|
|
homepage 'http://librdf.org/'
|
2011-02-12 11:23:45 +00:00
|
|
|
md5 '40f37a5ad97fdfbf984f78dcea0c6115'
|
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-03-21 21:24:22 +00:00
|
|
|
fails_with_llvm
|
|
|
|
|
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
|