2011-10-13 17:08:19 +00:00
|
|
|
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'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '2c75a7ad0d0e00e9463f768fa4b579626bf65096'
|
2011-10-13 17:08:19 +00:00
|
|
|
|
2013-06-18 23:27:41 +00:00
|
|
|
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
|
|
|
|
|
2011-10-13 17:08:19 +00:00
|
|
|
def install
|
2013-01-29 04:48:24 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2011-10-13 17:08:19 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|