homebrew-core/Formula/kyoto-cabinet.rb

22 lines
570 B
Ruby
Raw Normal View History

2010-05-27 17:17:37 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class KyotoCabinet < Formula
homepage 'http://fallabs.com/kyotocabinet/'
url 'http://fallabs.com/kyotocabinet/pkg/kyotocabinet-1.2.74.tar.gz'
sha1 '345358259ec4e58b5986b5d6fa8f82dfe2816c37'
2010-05-27 17:17:37 +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