homebrew-core/Formula/siril.rb
2018-06-08 09:36:23 +02:00

49 lines
1.4 KiB
Ruby

class Siril < Formula
desc "Astronomical image processing tool"
homepage "https://free-astro.org/index.php/Siril"
url "https://free-astro.org/download/siril-0.9.9.tar.bz2"
sha256 "7958985393eca33b2db173090af78a46e42a7daefe7f6eaa7efa4ba261fa46f3"
head "https://free-astro.org/svn/siril/", :using => :svn
bottle do
sha256 "ca1c7cfbb38b8ba967e66bcd04ec198f2be3c3494230efee481b3d522c9db03f" => :high_sierra
sha256 "0df97002255db433f7e405afca317812c6acd640dd872857b263d303b6f5b3eb" => :sierra
sha256 "cdf7b00d54e5fe725a1238f108108f99daeddb2b375a92149eaf82c53b47dccf" => :el_capitan
end
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "intltool" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build
depends_on "adwaita-icon-theme"
depends_on "cfitsio"
depends_on "ffms2"
depends_on "fftw"
depends_on "gcc" # for OpenMP
depends_on "gnuplot"
depends_on "gsl"
depends_on "gtk-mac-integration"
depends_on "libconfig"
depends_on "libraw"
depends_on "librsvg"
depends_on "libsvg"
depends_on "netpbm"
depends_on "opencv"
depends_on "openjpeg"
fails_with :clang # no OpenMP support
needs :cxx11
def install
ENV.cxx11
system "./autogen.sh", "--prefix=#{prefix}", "--enable-openmp"
system "make", "install"
end
test do
system "#{bin}/siril", "-v"
end
end