homebrew-core/Formula/siril.rb
2018-05-03 01:18:46 -07:00

50 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.8.3.tar.bz2"
sha256 "f6ca57b668441505010673b153f85fa23efdf41fe74ee7ecb5a4926a572acfa3"
revision 3
head "https://free-astro.org/svn/siril/", :using => :svn
bottle do
sha256 "ccee3e880c5af388b212428db431131f14ae8cef08b2a3b5cb12fb3f1ccc29e0" => :high_sierra
sha256 "50063d351c407ee465213a65defa9a3a99d36d0e48365cb2c4221b1ff6bb68dc" => :sierra
sha256 "eb7d239829e8bf22335dc12ef7b8e4808b2d3ae1382cf13dce574be850006780" => :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