pkg:setup
if MacOS.version == :el_capitan && MacOS::Xcode.version >= "8.0"
inreplace "numlib/numsup.c", "CLOCK_MONOTONIC", "UNDEFINED_GIBBERISH"
end
sh makeall.sh
./makeDESTDIR=${PKG_DEST} install.sh
rm "bin/License.txt"
prefix.install "bin", "ref", "doc"