2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-19 09:39:40 +00:00
|
|
|
|
|
|
|
class Redland <Formula
|
|
|
|
@url='http://download.librdf.org/source/redland-1.0.9.tar.gz'
|
|
|
|
@homepage='http://librdf.org/'
|
|
|
|
@md5='e5ef0c29c55b4f0f5aeed7955b4d383b'
|
|
|
|
|
2009-09-21 18:00:13 +00:00
|
|
|
depends_on 'raptor'
|
|
|
|
depends_on 'rasqal'
|
2009-10-10 11:58:00 +00:00
|
|
|
depends_on 'pkg-config'
|
|
|
|
depends_on 'berkeley-db' => :optional
|
2009-09-19 09:39:40 +00:00
|
|
|
|
|
|
|
def install
|
2009-10-10 11:58:00 +00:00
|
|
|
ENV.gcc_4_2
|
|
|
|
|
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--with-sqlite=yes",
|
|
|
|
"--with-bdb=#{HOMEBREW_PREFIX}"
|
2009-09-19 09:39:40 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|