homebrew-core/Formula/mpio.rb

24 lines
690 B
Ruby
Raw Normal View History

require 'formula'
class Mpio < Formula
homepage 'https://github.com/frsyuki/mpio'
2013-01-29 04:48:24 +00:00
url 'https://github.com/downloads/frsyuki/mpio/mpio-0.3.7.tar.gz'
sha1 '2c75a7ad0d0e00e9463f768fa4b579626bf65096'
fails_with :clang do
cause <<-EOS.undent
In file included from ./wavy_loop.h:23:
./wavy_kernel.h:50:10: fatal error: './ wavy_kernel_kqueue.h' file not found
#include MP_WAVY_KERNEL_HEADER(MP_WAVY_KERNEL)
^
./wavy_kernel.h:44:2: note: expanded from macro 'MP_WAVY_KERNEL_HEADER'
EOS
end
def install
2013-01-29 04:48:24 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end