2010-05-27 17:17:37 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class KyotoCabinet < Formula
|
2010-08-08 00:22:30 +00:00
|
|
|
homepage 'http://fallabs.com/kyotocabinet/'
|
2012-05-07 08:41:13 +00:00
|
|
|
url 'http://fallabs.com/kyotocabinet/pkg/kyotocabinet-1.2.75.tar.gz'
|
|
|
|
sha1 'ab4d59ca575455328f2b63628cc33c70d666570c'
|
2010-05-27 17:17:37 +00:00
|
|
|
|
2012-03-18 20:33:24 +00:00
|
|
|
fails_with :clang do
|
|
|
|
build 318
|
|
|
|
cause <<-EOS.undent
|
|
|
|
Kyoto-cabinet relies on GCC atomic intrinsics, but Clang does not
|
|
|
|
implement them for non-integer types.
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
|
2010-05-27 17:17:37 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--prefix=#{prefix}"
|
|
|
|
system "make" # Separate steps required
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|